staph-b / cdphe Goto Github PK
View Code? Open in Web Editor NEWVarious pipelines and scripts used by the CO state public health lab
License: GNU General Public License v3.0
Various pipelines and scripts used by the CO state public health lab
License: GNU General Public License v3.0
Not sure what the code would look like, but this should be implemented in all dockerized scripts.
Would be nice to have a USAGE section on the README.md so that if others want to use the pipelines, they have the instructions to do so.
Could include:
docker
, pigz
Would be good to have a check near the beginning of the dockerized scripts to see if a docker image has been pulled or not. If not, pull docker image.
I would prefer to avoid checking by running docker pull
for all programs, because even if the image is present on the machine, it will still download the must up-to-date image, which may not have changed. Docker/Docker hub just thinks that the image has changed since a push to the master branch of staph-b/docker-auto-builds
currently results in auto-rebuilding of ALL images
# just for illustration purposes - totally fake code
if [ docker run staphb/spades:3.12.0 spades.py -v ] returns: SPAdes v3.12.0 ;
print version to screen (potentially set bash variable as $SPADESVER)
else
docker pull staphb/spades:3.12.0
fi
Would need checks for each program used by each dockerized script.
In line 314 of type_pipe_2.5-dockerized.sh an * is used that on my end leads to an apparent error with file names that are a substring of another file name (eg. 22 and 220) in that the resulting files for two distinct isolates are identical. Removing the * corrected the issue in my local job script.
Also, (disclaimer: I have not look into this directly) a similar problem may arise in the MASH, Kraken, and SPAdes steps as they appear to also utilize wildcards in a similar way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.