Skip to content

Commit

Permalink
Updated bioconda integration
Browse files Browse the repository at this point in the history
  • Loading branch information
iquasere committed Apr 28, 2023
1 parent 9208e5c commit 66fa471
Show file tree
Hide file tree
Showing 8 changed files with 230 additions and 247 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
name: mosca
path: /tmp/mosca.tar

mgmt_workflow:
mgmt-workflow:
runs-on: ubuntu-latest
needs: build
steps:
Expand All @@ -61,7 +61,7 @@ jobs:
- name: MGMT workflow
run: docker run mosca /bin/bash -c "mosca -c MOSCARDO/configs/mgmt_config.json"

mgmp_workflow:
mgmp-workflow:
runs-on: ubuntu-latest
needs: build
steps:
Expand All @@ -85,4 +85,4 @@ jobs:
- name: MGMP workflow
run: >
docker run -v named_volume:/data -v /var/run/docker.sock:/var/run/docker.sock mosca /bin/bash
-c "mosca -c MOSCARDO/configs/mgmp_config.json; rm -r output"
-c "mosca -c MOSCARDO/configs/mgmp_config.json; du -sh output/*; df -h"
12 changes: 5 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
dir="${PREFIX}/share/MOSCA"
mkdir -p "${dir}/scripts" "${PREFIX}/bin"
cp workflow/scripts/* "${dir}/scripts"
cp workflow/Snakefile workflow/mosca.py "${dir}/scripts"
cp -r resources "${dir}/resources"
chmod +x "${dir}/scripts/mosca.py"
ln -s "${dir}/scripts/mosca.py" "${PREFIX}/bin/"
echo "Storing MOSCA's files in the Conda environment at: ${PREFIX}"
mkdir -p "${PREFIX}/share/MOSCA" "${PREFIX}/bin"
cp -r MOSCA/workflow/* "${PREFIX}/share/MOSCA"
chmod +x "${PREFIX}/share/MOSCA/mosca.py"
ln -s "${PREFIX}/share/MOSCA/mosca.py" "${PREFIX}/bin/mosca"
File renamed without changes.
40 changes: 0 additions & 40 deletions resources/tools_for_versions.txt

This file was deleted.

123 changes: 63 additions & 60 deletions workflow/envs/assembly.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: mosca_ass
name: assembly
channels:
- bioconda
- conda-forge
- bioconda
- anaconda
- defaults
dependencies:
- _libgcc_mutex=0.1=conda_forge
Expand All @@ -10,7 +11,7 @@ dependencies:
- alsa-lib=1.2.8=h166bdaf_0
- bedtools=2.30.0=h468198e_3
- blast=2.13.0=hf3cf87c_0
- bowtie2=2.5.0=py310h8d7afc0_0
- bowtie2=2.5.1=py310h8d7afc0_0
- brotli=1.0.9=h166bdaf_8
- brotli-bin=1.0.9=h166bdaf_8
- bwa=0.7.17=h7132678_9
Expand All @@ -19,84 +20,91 @@ dependencies:
- ca-certificates=2022.12.7=ha878542_0
- cairo=1.16.0=ha61ee94_1014
- certifi=2022.12.7=pyhd8ed1ab_0
- circos=0.69.8=hdfd78af_1
- circos=0.69.9=hdfd78af_0
- colorama=0.4.6=pyhd8ed1ab_0
- curl=7.87.0=hdc1c0ab_0
- contourpy=1.0.7=py310hdf3cbec_0
- curl=7.87.0=h6312ad2_0
- cycler=0.11.0=pyhd8ed1ab_0
- entrez-direct=16.2=he881be0_1
- expat=2.5.0=h27087fc_0
- expat=2.5.0=hcb278e6_1
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
- font-ttf-inconsolata=3.000=h77eed37_0
- font-ttf-source-code-pro=2.038=h77eed37_0
- font-ttf-ubuntu=0.83=hab24e00_0
- fontconfig=2.14.1=hc2a2eb6_0
- fontconfig=2.14.2=h14ed4e7_0
- fonts-conda-ecosystem=1=0
- fonts-conda-forge=1=0
- fonttools=4.39.3=py310h1fa729e_0
- freetype=2.12.1=hca18f0e_1
- gettext=0.21.1=h27087fc_0
- giflib=5.2.1=h36c2ea0_2
- giflib=5.2.1=h0b41bf4_3
- glimmerhmm=3.0.4=pl5321h87f3376_5
- gmcloser=1.6.2=hdfd78af_1
- graphite2=1.3.13=h58526e2_1001
- harfbuzz=6.0.0=h8e241bc_0
- htslib=1.17=h6bc39ce_0
- icu=70.1=h27087fc_0
- joblib=1.2.0=pyhd8ed1ab_0
- jpeg=9e=h166bdaf_2
- jpeg=9e=h0b41bf4_3
- k8=0.2.5=hd03093a_2
- kernel-headers_linux-64=3.10.0=h4a8ded7_13
- keyutils=1.6.1=h166bdaf_0
- krb5=1.20.1=h81ceb04_0
- lcms2=2.14=hfd0df8a_1
- ld_impl_linux-64=2.39=hcc3a1bd_1
- kiwisolver=1.4.4=py310hbf28c38_1
- krb5=1.20.1=hf9c8cef_0
- lcms2=2.14=h6ed2654_0
- ld_impl_linux-64=2.40=h41732ed_0
- lerc=4.0.0=h27087fc_0
- libblas=3.9.0=16_linux64_openblas
- libbrotlicommon=1.0.9=h166bdaf_8
- libbrotlidec=1.0.9=h166bdaf_8
- libbrotlienc=1.0.9=h166bdaf_8
- libcblas=3.9.0=16_linux64_openblas
- libcups=2.3.3=h36d4200_3
- libcurl=7.87.0=hdc1c0ab_0
- libdeflate=1.14=h166bdaf_0
- libcurl=7.87.0=h6312ad2_0
- libdeflate=1.13=h166bdaf_0
- libedit=3.1.20191231=he28a2e2_2
- libev=4.33=h516909a_1
- libexpat=2.5.0=hcb278e6_1
- libffi=3.4.2=h7f98852_5
- libgcc-ng=12.2.0=h65d4601_19
- libgd=2.3.3=h5aea950_4
- libgd=2.3.3=h18fbbfe_3
- libgfortran-ng=12.2.0=h69a702a_19
- libgfortran5=12.2.0=h337968e_19
- libglib=2.74.1=h606061b_1
- libglib=2.76.2=hebfc3b9_0
- libgomp=12.2.0=h65d4601_19
- libhwloc=2.8.0=h32351e8_1
- libhwloc=2.9.1=hd6dc26d_0
- libiconv=1.17=h166bdaf_0
- libidn2=2.3.4=h166bdaf_0
- liblapack=3.9.0=16_linux64_openblas
- libnghttp2=1.47.0=hff17c54_1
- libnghttp2=1.51.0=hdcd2b5c_0
- libnsl=2.0.0=h7f98852_0
- libopenblas=0.3.21=pthreads_h78a6416_3
- libpng=1.6.39=h753d276_0
- libsqlite=3.40.0=h753d276_0
- libssh2=1.10.0=hf14f497_3
- libsqlite=3.40.0=h753d276_1
- libssh2=1.10.0=haa6b8db_3
- libstdcxx-ng=12.2.0=h46fd767_19
- libtiff=4.5.0=h82bc61c_0
- libtiff=4.4.0=h0e0dad5_3
- libunistring=0.9.10=h7f98852_0
- libuuid=2.32.1=h7f98852_1000
- libwebp=1.2.4=h1daa5a0_1
- libuuid=2.38.1=h0b41bf4_0
- libwebp=1.2.4=h522a892_0
- libwebp-base=1.2.4=h166bdaf_0
- libxcb=1.13=h7f98852_1004
- libxml2=2.10.3=h7463322_0
- libxml2=2.10.3=hca2bb57_4
- libzlib=1.2.13=h166bdaf_4
- llvm-openmp=8.0.1=hc9558a2_0
- matplotlib-base=3.6.2=py310h8d5ebf3_0
- megahit=1.2.9=h2e03b76_1
- minimap2=2.24=h7132678_1
- matplotlib-base=3.7.1=py310he60537e_0
- megahit=1.2.9=h5b5514e_2
- minimap2=2.25=h7132678_0
- mummer=3.23=pl5321h87f3376_14
- munkres=1.1.4=pyh9f0ad1d_0
- ncurses=6.3=h27087fc_1
- numpy=1.24.3=py310ha4c1d20_0
- openjdk=17.0.3=h58dac75_5
- openjpeg=2.5.0=hfec8fc6_2
- openjpeg=2.5.0=h7d73246_1
- openmp=8.0.1=0
- openssl=3.0.7=h0b41bf4_1
- packaging=22.0=pyhd8ed1ab_0
- openssl=1.1.1t=h0b41bf4_0
- packaging=23.1=pyhd8ed1ab_0
- pandas=2.0.1=py310h7cbd5c2_0
- pcre=8.45=h9c3ff4c_0
- pcre2=10.40=hc3806b6_0
- perl=5.32.1=2_h7f98852_perl5
Expand All @@ -115,7 +123,7 @@ dependencies:
- perl-extutils-config=0.008=pl5321ha770c72_0
- perl-extutils-helpers=0.026=pl5321ha770c72_0
- perl-extutils-installpaths=0.012=pl5321ha770c72_0
- perl-extutils-makemaker=7.66=pl5321hd8ed1ab_0
- perl-extutils-makemaker=7.70=pl5321hd8ed1ab_0
- perl-extutils-pl2bat=0.005=pl5321ha770c72_0
- perl-findbin=1.51=pl5321hdfd78af_3
- perl-font-ttf=1.06=pl5321hdfd78af_1
Expand All @@ -124,7 +132,7 @@ dependencies:
- perl-inc-latest=0.500=pl5321ha770c72_0
- perl-io-compress=2.201=pl5321h87f3376_0
- perl-io-string=1.08=pl5321hdfd78af_4
- perl-io-zlib=1.11=pl5321hdfd78af_0
- perl-io-zlib=1.14=pl5321hdfd78af_0
- perl-json=4.10=pl5321hdfd78af_0
- perl-json-xs=2.34=pl5321h9f5acd7_5
- perl-list-moreutils=0.430=pl5321hdfd78af_0
Expand All @@ -138,7 +146,7 @@ dependencies:
- perl-module-runtime=0.016=pl5321ha770c72_0
- perl-number-format=1.75=pl5321hdfd78af_4
- perl-params-validate=1.31=pl5321hec16e2b_0
- perl-parent=0.239=pl5321hd8ed1ab_0
- perl-parent=0.241=pl5321hd8ed1ab_0
- perl-pathtools=3.75=pl5321h166bdaf_0
- perl-pod-escapes=1.07=pl5321hdfd78af_2
- perl-pod-usage=2.03=pl5321hdfd78af_0
Expand All @@ -157,55 +165,50 @@ dependencies:
- perl-try-tiny=0.31=pl5321ha770c72_0
- perl-types-serialiser=1.01=pl5321hdfd78af_0
- perl-xml-parser=2.44_01=pl5321hc3e0081_1003
- pip=22.3.1=pyhd8ed1ab_0
- pillow=9.2.0=py310h454ad03_3
- pip=23.1.2=pyhd8ed1ab_0
- pixman=0.40.0=h36c2ea0_0
- psutil=5.9.5=py310h1fa729e_0
- pthread-stubs=0.4=h36c2ea0_1001
- pyparsing=3.0.9=pyhd8ed1ab_0
- python=3.10.8=h4a9ceb5_0_cpython
- python=3.10.8=h257c98d_0_cpython
- python-dateutil=2.8.2=pyhd8ed1ab_0
- python-tzdata=2023.3=pyhd8ed1ab_0
- python_abi=3.10=3_cp310
- pytz=2022.7=pyhd8ed1ab_0
- readline=8.1.2=h0f457ee_0
- setuptools=65.6.3=pyhd8ed1ab_0
- pytz=2023.3=pyhd8ed1ab_0
- quast=5.2.0=py310pl5321hc8f18ef_2
- readline=8.2=h8228510_1
- samtools=1.17=h00cdaf9_0
- setuptools=67.7.2=pyhd8ed1ab_0
- simplejson=3.19.1=py310h1fa729e_0
- six=1.16.0=pyh6c4a22f_0
- spades=3.15.5=h95f258a_1
- sysroot_linux-64=2.17=h4a8ded7_13
- tbb=2021.7.0=h924138e_1
- tbb=2021.9.0=hf52228f_0
- tk=8.6.12=h27826a3_0
- tqdm=4.64.1=pyhd8ed1ab_0
- tzdata=2022g=h191b570_0
- wget=1.20.3=ha35d2d1_1
- wheel=0.38.4=pyhd8ed1ab_0
- tqdm=4.65.0=pyhd8ed1ab_1
- tzdata=2023c=h71feb2d_0
- unicodedata2=15.0.0=py310h5764c6d_0
- wget=1.20.3=ha56f1ee_1
- wheel=0.40.0=pyhd8ed1ab_0
- xorg-fixesproto=5.0=h7f98852_1002
- xorg-inputproto=2.3.2=h7f98852_1002
- xorg-kbproto=1.0.7=h7f98852_1002
- xorg-libice=1.0.10=h7f98852_0
- xorg-libsm=1.2.3=hd9c2040_1000
- xorg-libx11=1.7.2=h7f98852_0
- xorg-libx11=1.8.4=h0b41bf4_0
- xorg-libxau=1.0.9=h7f98852_0
- xorg-libxdmcp=1.1.3=h7f98852_0
- xorg-libxext=1.3.4=h7f98852_1
- xorg-libxext=1.3.4=h0b41bf4_2
- xorg-libxfixes=5.0.3=h7f98852_1004
- xorg-libxi=1.7.10=h7f98852_0
- xorg-libxrender=0.9.10=h7f98852_1003
- xorg-libxtst=1.2.3=h7f98852_1002
- xorg-recordproto=1.14.2=h7f98852_1002
- xorg-renderproto=0.11.1=h7f98852_1002
- xorg-xextproto=7.3.0=h7f98852_1002
- xorg-xextproto=7.3.0=h0b41bf4_1003
- xorg-xproto=7.0.31=h7f98852_1007
- xz=5.2.6=h166bdaf_0
- zlib=1.2.13=h166bdaf_4
- zstd=1.5.2=h6239696_4
- pip:
- contourpy==1.0.6
- fonttools==4.38.0
- kiwisolver==1.4.4
- matplotlib==3.6.2
- numpy==1.24.0
- pandas==1.5.2
- pillow==9.2.0
- psutil==5.9.4
- quast==5.2.0
- simplejson==3.18.0
- unicodedata2==15.0.0
prefix: /opt/conda/envs/my_env
- zstd=1.5.2=h3eb15da_6
prefix: /opt/conda/envs/assembly
Loading

0 comments on commit 66fa471

Please sign in to comment.