-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: accept inputs for both dna and rna
- Loading branch information
Showing
20 changed files
with
976 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"images": { | ||
"metawrap": "docker://rroutsong/metamorph_metawrap:0.0.2", | ||
"metawrap": "docker://rroutsong/metamorph_metawrap:0.0.4", | ||
"metagenome": "docker://rroutsong/metamorph_metagenome:0.0.1" | ||
}, | ||
"containers": { | ||
"metawrap": "/data/OpenOmics/SIFs/metamorph_metawrap_1.3.2.sif", | ||
"metawrap": "/data/OpenOmics/SIFs/metamorph_metawrap_0.0.4.sif", | ||
"metagenome": "/data/OpenOmics/SIFs/metamorph_metagenome_0.0.1.sif" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM condaforge/miniforge3:latest | ||
RUN apt-get update; apt-get install -y -qq curl build-essential vim dos2unix bash python2.7 | ||
RUN mamba create -y -n metawrap-env | ||
RUN conda config --add channels defaults; conda config --add channels conda-forge; \ | ||
conda config --add channels bioconda;conda config --add channels ursky | ||
RUN mamba install -y --only-deps -c ursky -n metawrap-env metawrap-mg==1.3.2 | ||
RUN cd /home; git clone https://github.com/rroutsong/metaWRAP.git; chmod -R 777 metaWRAP | ||
RUN mamba run -n metawrap-env pip3 install drep | ||
ENV PATH="/home/metaWRAP/bin:/opt/conda/envs/metawrap-env/bin:$PATH" | ||
COPY docker/metawrap/config-metawrap /home/metaWRAP/bin/config-metawrap | ||
COPY docker/metawrap/Dockerfile /Dockerfile | ||
RUN mkdir /install; cd /install; wget https://carlowood.github.io/which/which-2.21.tar.gz; tar xvf which-2.21.tar.gz | ||
RUN cd /install/which-2.21; ./configure; make && make install | ||
RUN rm /usr/bin/which; ln -s /usr/local/bin/which /usr/bin/which | ||
RUN md5sum Dockerfile > /Dockerfile.md5 | ||
ADD docker/metawrap/mw /home/metaWRAP/bin/mw | ||
RUN dos2unix /home/metaWRAP/bin/config-metawrap | ||
RUN dos2unix /home/metaWRAP/bin/mw | ||
RUN chmod a+rx /home/metaWRAP/bin/config-metawrap /home/metaWRAP/bin/mw | ||
ENV BASH_ENV="/etc/bash.bashrc" | ||
RUN echo ". /opt/conda/etc/profile.d/conda.sh && conda activate metawrap-env" >> /etc/bash.bashrc | ||
RUN echo 'export PATH="/home/metaWRAP/bin:/opt/conda/envs/metawrap-env/bin:$PATH"' >> /etc/bash.bashrc | ||
ENTRYPOINT ["/bin/bash"] |
15 changes: 5 additions & 10 deletions
15
docker/metawrap/config-metawrap_1.3.2 → docker/metawrap/config-metawrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
#!/bin/bash | ||
# Paths to custon pipelines and scripts of metaWRAP | ||
mw_path=$(which metawrap) | ||
bin_path=${mw_path%/*} | ||
SOFT=${bin_path}/metawrap-scripts | ||
PIPES=${bin_path}/metawrap-modules | ||
|
||
# OPTIONAL databases (see 'Databases' section of metaWRAP README for details) | ||
# path to kraken standard databases | ||
KRAKEN_DB=~/KRAKEN_DB | ||
KRAKEN2_DB=~/KRAKEN_DB2 | ||
|
||
KRAKEN_DB=/data2/KRAKEN_DB | ||
KRAKEN2_DB=/data2/KRAKEN_DB2 | ||
# path to indexed human (or other host) genome (see metaWRAP website for guide). This includes .bitmask and .srprism files | ||
BMTAGGER_DB=~/BMTAGGER_DB | ||
|
||
BMTAGGER_DB=/data2/BMTAGGER_DB | ||
# paths to BLAST databases | ||
BLASTDB=~/NCBI_NT_DB | ||
TAXDUMP=~/NCBI_TAX_DB | ||
|
||
BLASTDB=/data2/NCBI_NT_DB | ||
TAXDUMP=/data2/NCBI_TAX_DB |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
set +eu | ||
source /etc/bash.bashrc | ||
/home/metaWRAP/bin/metawrap "$@" | ||
set -eu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,5 @@ tornado==6.0.4 | |
tqdm==4.48.2 | ||
zipp==3.1.0 | ||
mkdocs-git-revision-date-plugin | ||
mkdocs-snakemake-rule-plugin | ||
mike |
Oops, something went wrong.