nanoporetech / pipeline-structural-variation

Pipeline for calling structural variations in whole genomes sequencing Oxford Nanopore data
Other
111 stars 16 forks source link

mosdepth not found due to dependency issue #7

Open ashrosewood opened 4 years ago

ashrosewood commented 4 years ago

I recently tried your workflow, and found mosdepth was crashing due to a dependency issue. I was able to fix it by providing the versions that you have listed on the Structural variation analysis page on the Nanopore Community page:

channels:
    - bioconda
    - conda-forge
    - r
dependencies:
    - snakemake-minimal
    - minimap2=2.17
    - sniffles=1.0.11
    - samtools=1.9
    - nanofilt
    - nanoplot
    - pybedtools=0.8.0
    - bedtools=2.29.0
    - bcftools=1.9
    - pysam
    - scipy
    - tqdm
    - vcftools=0.1.16
    - vcflib
    - make
    - mosdepth=0.2.5
    - pyfaidx
    - pyvcf=0.6.8
    - progressbar2
    - python-Levenshtein
    - intervaltree=2.1.0
    - rtg-tools
    - r
    - r-nanopore
    - imagemagick
    - graphviz
    - pandoc
    - igv
    - bioconductor-rsamtools=2.0.0 

And exported my environment for exact packages and dependancies. You may want to add the above versions to insure the environment does not have any dependency issues. It is quite a hefty amount of packages to install for this workflow.

Thanks, Ashley

name: ont_tutorial_sv
channels:
  - conda-forge
  - bioconda
  - defaults
dependencies:
  - _libgcc_mutex=0.1=conda_forge
  - _openmp_mutex=4.5=0_gnu
  - _r-mutex=1.0.1=anacondar_1
  - alsa-lib=1.1.5=h516909a_1002
  - appdirs=1.4.3=py_1
  - attrs=19.3.0=py_0
  - bcftools=1.10.2=hd2cd319_0
  - bedtools=2.29.2=hc088bd4_0
  - binutils_impl_linux-64=2.33.1=he1b5a44_7
  - binutils_linux-64=2.33.1=h9595d00_16
  - bioconductor-annotationdbi=1.48.0=r36_0
  - bioconductor-annotationfilter=1.10.0=r36_0
  - bioconductor-biobase=2.46.0=r36h516909a_0
  - bioconductor-biocfilecache=1.10.0=r36_0
  - bioconductor-biocgenerics=0.32.0=r36_0
  - bioconductor-biocparallel=1.20.0=r36he1b5a44_0
  - bioconductor-biomart=2.42.0=r36_0
  - bioconductor-biostrings=2.54.0=r36h516909a_0
  - bioconductor-biovizbase=1.34.0=r36h516909a_0
  - bioconductor-bsgenome=1.54.0=r36_0
  - bioconductor-delayedarray=0.12.0=r36h516909a_0
  - bioconductor-ensembldb=2.10.0=r36_0
  - bioconductor-genomeinfodb=1.22.0=r36_0
  - bioconductor-genomeinfodbdata=1.2.2=r36_0
  - bioconductor-genomicalignments=1.22.0=r36h516909a_0
  - bioconductor-genomicfeatures=1.38.0=r36_0
  - bioconductor-genomicranges=1.38.0=r36h516909a_0
  - bioconductor-ggbio=1.34.0=r36_0
  - bioconductor-graph=1.64.0=r36h516909a_0
  - bioconductor-iranges=2.20.0=r36h516909a_0
  - bioconductor-organismdbi=1.28.0=r36_0
  - bioconductor-protgenerics=1.18.0=r36_0
  - bioconductor-rbgl=1.62.1=r36he1b5a44_0
  - bioconductor-rhtslib=1.18.0=r36hdb70ac9_1
  - bioconductor-rsamtools=2.2.0=r36he1b5a44_0
  - bioconductor-rtracklayer=1.46.0=r36h516909a_0
  - bioconductor-s4vectors=0.24.0=r36h516909a_0
  - bioconductor-shortread=1.44.0=r36he1b5a44_0
  - bioconductor-summarizedexperiment=1.16.0=r36_0
  - bioconductor-variantannotation=1.32.0=r36h516909a_0
  - bioconductor-xvector=0.26.0=r36h516909a_0
  - bioconductor-zlibbioc=1.32.0=r36h516909a_0
  - biopython=1.76=py36h516909a_0
  - bwidget=1.9.14=0
  - bzip2=1.0.8=h516909a_2
  - ca-certificates=2019.11.28=hecc5488_0
  - cairo=1.16.0=hfb77d84_1002
  - certifi=2019.11.28=py36_0
  - cffi=1.13.2=py36h8022711_0
  - chardet=3.0.4=py36_1003
  - configargparse=0.13.0=py_1
  - cryptography=2.8=py36h72c5cf5_1
  - curl=7.65.3=hf8cf82a_0
  - cycler=0.10.0=py_2
  - cython=0.29.14=py36he1b5a44_0
  - datrie=0.8=py36h516909a_0
  - dbus=1.13.6=he372182_0
  - docutils=0.16=py36_0
  - expat=2.2.5=he1b5a44_1004
  - fftw=3.3.8=nompi_h7f3a6c3_1110
  - font-ttf-dejavu-sans-mono=2.37=hab24e00_0
  - font-ttf-inconsolata=2.001=hab24e00_0
  - font-ttf-source-code-pro=2.030=hab24e00_0
  - font-ttf-ubuntu=0.83=hab24e00_0
  - fontconfig=2.13.1=h86ecdb6_1001
  - fonts-conda-forge=1=0
  - freetype=2.10.0=he983fc9_1
  - fribidi=1.0.5=h516909a_1002
  - gcc_impl_linux-64=7.3.0=hd420e75_4
  - gcc_linux-64=7.3.0=h553295d_16
  - gdk-pixbuf=2.32.2=1
  - gettext=0.19.8.1=hc5be6a0_1002
  - gfortran_impl_linux-64=7.3.0=hdf63c60_4
  - gfortran_linux-64=7.3.0=h553295d_16
  - ghostscript=9.18=1
  - giflib=5.2.1=h516909a_1
  - gitdb2=2.0.6=py_0
  - gitpython=3.0.5=py_0
  - glib=2.58.3=py36h6f030ca_1002
  - gobject-introspection=1.58.2=py36h5503ade_1002
  - graphite2=1.3.13=hf484d3e_1000
  - graphviz=2.42.3=h0511662_0
  - gsl=2.5=h294904e_1
  - gst-plugins-base=1.14.5=h0935bb2_0
  - gstreamer=1.14.5=h36ae1b5_0
  - gxx_impl_linux-64=7.3.0=hdf63c60_4
  - gxx_linux-64=7.3.0=h553295d_16
  - harfbuzz=2.4.0=h9f30f68_3
  - htslib=1.10.2=h78d89cc_0
  - icu=64.2=he1b5a44_1
  - idna=2.8=py36_1000
  - igv=2.5.2=0
  - imagemagick=7.0.9_16=pl526ha9fe49d_0
  - importlib_metadata=1.4.0=py36_0
  - intervaltree=2.1.0=py_1
  - jbig=2.1=h14c3975_2001
  - jpeg=9c=h14c3975_1001
  - jsonschema=3.2.0=py36_0
  - kiwisolver=1.1.0=py36hc9558a2_0
  - krb5=1.16.4=h2fd8d38_0
  - lcms2=2.9=hbd6801e_1
  - ld_impl_linux-64=2.33.1=h53a641e_7
  - libblas=3.8.0=14_openblas
  - libcblas=3.8.0=14_openblas
  - libclang=9.0.1=default_hde54327_0
  - libcroco=0.6.13=h8d621e5_0
  - libcurl=7.65.3=hda55be3_0
  - libdeflate=1.3=h516909a_0
  - libedit=3.1.20170329=hf8c457e_1001
  - libffi=3.2.1=he1b5a44_1006
  - libgcc=7.2.0=h69d50b8_2
  - libgcc-ng=9.2.0=h24d8f2e_2
  - libgfortran-ng=7.3.0=hdf63c60_4
  - libgomp=9.2.0=h24d8f2e_2
  - libiconv=1.15=h516909a_1005
  - liblapack=3.8.0=14_openblas
  - libllvm9=9.0.1=hc9558a2_0
  - libopenblas=0.3.7=h5ec1e0e_6
  - libpng=1.6.37=hed695b0_0
  - librsvg=2.46.4=h33a7fed_0
  - libssh2=1.8.2=h22169c7_2
  - libstdcxx-ng=9.2.0=hdf63c60_2
  - libtiff=4.1.0=hc3755c2_3
  - libtool=2.4.6=h14c3975_1002
  - libuuid=2.32.1=h14c3975_1000
  - libwebp=1.0.2=h56121f0_5
  - libxcb=1.13=h14c3975_1002
  - libxkbcommon=0.9.1=hebb1f50_0
  - libxml2=2.9.10=hee79883_0
  - lz4-c=1.8.3=he1b5a44_1001
  - make=4.2.1=h14c3975_2004
  - matplotlib=3.1.2=py36_1
  - matplotlib-base=3.1.2=py36h250f245_1
  - minimap2=2.17=h8b12597_1
  - more-itertools=8.1.0=py_0
  - mosdepth=0.2.7=hbeb723e_0
  - nanofilt=2.6.0=py_0
  - nanoget=1.12.0=py_0
  - nanomath=0.23.1=py_1
  - nanoplot=1.28.2=py_0
  - ncurses=6.1=hf484d3e_1002
  - nose=1.3.7=py36_1003
  - nspr=4.24=he1b5a44_0
  - nss=3.47=he751ad9_0
  - numpy=1.17.3=py36h95a1406_0
  - openjdk=11.0.1=h600c080_1018
  - openjpeg=2.3.1=h981e76c_3
  - openssl=1.1.1d=h516909a_0
  - packaging=20.0=py_0
  - pandas=0.25.3=py36hb3f55d8_0
  - pandoc=2.9.1.1=0
  - pango=1.42.4=ha030887_1
  - patsy=0.5.1=py_0
  - pauvre=0.1.86=py_1
  - pcre=8.43=he1b5a44_0
  - perl=5.26.2=h516909a_1006
  - pip=19.3.1=py36_0
  - pixman=0.38.0=h516909a_1003
  - pkg-config=0.29.2=h516909a_1006
  - plotly=4.4.1=py_0
  - pluggy=0.12.0=py_0
  - progressbar2=3.47.0=py_0
  - psutil=5.6.7=py36h516909a_0
  - pthread-stubs=0.4=h14c3975_1001
  - py=1.8.1=py_0
  - pybedtools=0.8.1=py36he513fc3_0
  - pycparser=2.19=py36_1
  - pyfaidx=0.5.8=py_1
  - pyopenssl=19.1.0=py36_0
  - pyparsing=2.4.6=py_0
  - pyqt=5.12.3=py36hcca6a23_1
  - pyrsistent=0.15.7=py36h516909a_0
  - pysam=0.15.3=py36hbcae180_3
  - pysocks=1.7.1=py36_0
  - pytest=5.3.3=py36_0
  - pytest-runner=5.2=py_0
  - python=3.6.7=h357f687_1006
  - python-dateutil=2.8.1=py_0
  - python-levenshtein=0.12.0=py36_1
  - python-utils=2.3.0=py_1
  - pytz=2019.3=py_0
  - pyvcf=0.6.8=py36_0
  - pyyaml=5.3=py36h516909a_0
  - qt=5.12.5=hd8c4c69_1
  - r=3.6=r36_1003
  - r-acepack=1.4.1=r36h9bbef5b_1004
  - r-ape=5.3=r36h0357c0b_1
  - r-askpass=1.1=r36hcdcec82_1
  - r-assertthat=0.2.1=r36h6115d3f_1
  - r-backports=1.1.5=r36hcdcec82_0
  - r-base=3.6.2=h3a67422_0
  - r-base64enc=0.1_3=r36hcdcec82_1003
  - r-bh=1.72.0_3=r36h6115d3f_0
  - r-biocmanager=1.30.10=r36h6115d3f_0
  - r-bit=1.1_15.1=r36hcdcec82_0
  - r-bit64=0.9_7=r36hcdcec82_1001
  - r-bitops=1.0_6=r36hcdcec82_1003
  - r-blob=1.2.0=r36_1
  - r-boot=1.3_24=r36h6115d3f_0
  - r-callr=3.4.0=r36h6115d3f_0
  - r-checkmate=1.9.4=r36hcdcec82_1
  - r-class=7.3_15=r36hcdcec82_1001
  - r-cli=2.0.1=r36h6115d3f_0
  - r-clipr=0.7.0=r36h6115d3f_0
  - r-cluster=2.1.0=r36h9bbef5b_2
  - r-codetools=0.2_16=r36h6115d3f_1001
  - r-colorspace=1.4_1=r36hcdcec82_1
  - r-crayon=1.3.4=r36h6115d3f_1002
  - r-curl=4.3=r36hcdcec82_0
  - r-data.table=1.12.8=r36hcdcec82_0
  - r-dbi=1.1.0=r36h6115d3f_0
  - r-dbplyr=1.4.2=r36h6115d3f_1
  - r-dichromat=2.0_0=r36_2001
  - r-digest=0.6.23=r36h0357c0b_0
  - r-dplyr=0.8.3=r36h0357c0b_3
  - r-ellipsis=0.3.0=r36hcdcec82_0
  - r-emojifont=0.5.3=r36h6115d3f_0
  - r-evaluate=0.14=r36h6115d3f_1
  - r-fansi=0.4.1=r36hcdcec82_0
  - r-farver=2.0.3=r36h0357c0b_0
  - r-fastmatch=1.1_0=r36hcdcec82_1004
  - r-foreign=0.8_74=r36hcdcec82_0
  - r-formatr=1.7=r36h6115d3f_1
  - r-formula=1.2_3=r36h6115d3f_1002
  - r-futile.logger=1.4.3=r36h6115d3f_1002
  - r-futile.options=1.0.1=r36h6115d3f_1001
  - r-gdata=2.18.0=r36h6115d3f_1002
  - r-ggally=1.4.0=r36h6115d3f_1001
  - r-ggplot2=3.2.1=r36h6115d3f_0
  - r-glue=1.3.1=r36hcdcec82_1
  - r-gridextra=2.3=r36h6115d3f_1002
  - r-gtable=0.3.0=r36h6115d3f_2
  - r-gtools=3.8.1=r36hcdcec82_1003
  - r-highr=0.8=r36h6115d3f_1
  - r-hmisc=4.3_0=r36h9bbef5b_0
  - r-hms=0.5.3=r36h6115d3f_0
  - r-htmltable=1.13.3=r36h6115d3f_0
  - r-htmltools=0.4.0=r36h0357c0b_0
  - r-htmlwidgets=1.5.1=r36h6115d3f_0
  - r-httr=1.4.1=r36h6115d3f_1
  - r-hwriter=1.3.2=r36h6115d3f_1002
  - r-irdisplay=0.7=r36_1001
  - r-jpeg=0.1_8.1=r36hcdcec82_0
  - r-jsonlite=1.6=r36hcdcec82_1001
  - r-kableextra=1.1.0=r36h6115d3f_1
  - r-kernsmooth=2.23_16=r36h9bbef5b_0
  - r-knitr=1.27=r36h6115d3f_0
  - r-labeling=0.3=r36h6115d3f_1002
  - r-lambda.r=1.2.4=r36h6115d3f_0
  - r-lattice=0.20_38=r36hcdcec82_1002
  - r-latticeextra=0.6_29=r36h6115d3f_0
  - r-lazyeval=0.2.2=r36hcdcec82_1
  - r-lifecycle=0.1.0=r36h6115d3f_0
  - r-magrittr=1.5=r36h6115d3f_1002
  - r-markdown=1.1=r36hcdcec82_0
  - r-mass=7.3_51.5=r36hcdcec82_0
  - r-matrix=1.2_18=r36hcdcec82_0
  - r-matrixstats=0.55.0=r36hcdcec82_0
  - r-memoise=1.1.0=r36h6115d3f_1003
  - r-memuse=4.0_0=r36hcdcec82_1
  - r-mgcv=1.8_31=r36hcdcec82_0
  - r-mime=0.8=r36hcdcec82_0
  - r-munsell=0.5.0=r36h6115d3f_1002
  - r-nanopore=0.2.9=r36h516909a_0
  - r-nlme=3.1_143=r36h9bbef5b_0
  - r-nnet=7.3_12=r36hcdcec82_1003
  - r-openssl=1.4.1=r36h9c8475f_0
  - r-pbmcapply=1.5.0=r36hcdcec82_0
  - r-permute=0.9_5=r36_1
  - r-pillar=1.4.3=r36h6115d3f_0
  - r-pinfsc50=1.1.0=r36_1002
  - r-pkgconfig=2.0.3=r36h6115d3f_0
  - r-plogr=0.2.0=r36h6115d3f_1002
  - r-plyr=1.8.5=r36h0357c0b_0
  - r-png=0.1_7=r36hcdcec82_1003
  - r-prettyunits=1.1.0=r36h6115d3f_0
  - r-processx=3.4.1=r36hcdcec82_0
  - r-progress=1.2.2=r36h6115d3f_1
  - r-proto=1.0.0=r36_2002
  - r-ps=1.3.0=r36hcdcec82_1001
  - r-purrr=0.3.3=r36hcdcec82_0
  - r-r.methodss3=1.7.1=r36h6115d3f_1002
  - r-r.oo=1.23.0=r36h6115d3f_0
  - r-r.utils=2.9.2=r36h6115d3f_0
  - r-r6=2.4.1=r36h6115d3f_0
  - r-rappdirs=0.3.1=r36hcdcec82_1003
  - r-rcolorbrewer=1.1_2=r36h6115d3f_1002
  - r-rcpp=1.0.3=r36h0357c0b_0
  - r-rcurl=1.98_1.1=r36hcdcec82_0
  - r-readr=1.3.1=r36h0357c0b_1002
  - r-recommended=3.6=r36_1003
  - r-repr=1.0.2=r36h6115d3f_0
  - r-reshape=0.8.8=r36hcdcec82_1
  - r-reshape2=1.4.3=r36h0357c0b_1004
  - r-rlang=0.4.2=r36hcdcec82_0
  - r-rmarkdown=2.0=r36h6115d3f_0
  - r-rpart=4.1_15=r36hcdcec82_1
  - r-rsqlite=2.1.5=r36h0357c0b_0
  - r-rstudioapi=0.10=r36h6115d3f_2
  - r-rvest=0.3.5=r36h6115d3f_0
  - r-scales=1.1.0=r36h6115d3f_0
  - r-selectr=0.4_2=r36h6115d3f_0
  - r-showtext=0.7=r36hcdcec82_1
  - r-showtextdb=2.0=r36h6115d3f_1
  - r-snow=0.4_3=r36h6115d3f_1001
  - r-spatial=7.3_11=r36hcdcec82_1003
  - r-stringi=1.4.5=r36h0e574ca_0
  - r-stringr=1.4.0=r36h6115d3f_1
  - r-survival=3.1_8=r36hcdcec82_0
  - r-sys=3.3=r36hcdcec82_0
  - r-sysfonts=0.8=r36hcdcec82_1
  - r-tibble=2.1.3=r36hcdcec82_1
  - r-tidyselect=0.2.5=r36h0357c0b_1001
  - r-tinytex=0.19=r36h6115d3f_0
  - r-utf8=1.1.4=r36hcdcec82_1001
  - r-vcfr=1.8.0=r36h0357c0b_3
  - r-vctrs=0.2.1=r36hcdcec82_0
  - r-vegan=2.5_6=r36h9bbef5b_0
  - r-viridis=0.5.1=r36h6115d3f_1003
  - r-viridislite=0.3.0=r36h6115d3f_1002
  - r-webshot=0.5.2=r36h6115d3f_0
  - r-withr=2.1.2=r36h6115d3f_1001
  - r-writexl=1.2=r36hcdcec82_0
  - r-xfun=0.12=r36h6115d3f_0
  - r-xml=3.98_1.20=r36hcdcec82_1
  - r-xml2=1.2.2=r36h0357c0b_0
  - r-yaml=2.2.0=r36hcdcec82_1002
  - r-zeallot=0.1.0=r36h6115d3f_1001
  - ratelimiter=1.2.0=py36_1000
  - readline=8.0=hf8c457e_0
  - requests=2.22.0=py36_1
  - retrying=1.3.3=py_2
  - rtg-tools=3.10.1=0
  - samtools=1.10=h9402c20_2
  - scipy=1.4.1=py36h921218d_0
  - seaborn=0.9.0=py_2
  - sed=4.7=h1bed415_1000
  - setuptools=45.0.0=py36_1
  - six=1.14.0=py36_0
  - smmap2=2.0.5=py_0
  - snakemake-minimal=5.9.1=py_0
  - sniffles=1.0.11=hdbcaa40_1
  - sortedcontainers=2.1.0=py_0
  - sqlite=3.30.1=hcee41ef_0
  - statsmodels=0.10.2=py36hc1659b7_0
  - tclap=1.2.1=h470a237_1
  - tk=8.6.10=hed695b0_0
  - tktable=2.10=h555a92e_3
  - tornado=6.0.3=py36h516909a_0
  - tqdm=4.7.2=py36_0
  - urllib3=1.25.7=py36_0
  - vcflib=1.0.0_rc2=h56106d0_2
  - vcftools=0.1.16=he860b03_3
  - wcwidth=0.1.8=py_0
  - wheel=0.33.6=py36_0
  - wrapt=1.11.2=py36h516909a_0
  - xorg-fixesproto=5.0=h14c3975_1002
  - xorg-inputproto=2.3.2=h14c3975_1002
  - xorg-kbproto=1.0.7=h14c3975_1002
  - xorg-libice=1.0.10=h516909a_0
  - xorg-libsm=1.2.3=h84519dc_1000
  - xorg-libx11=1.6.9=h516909a_0
  - xorg-libxau=1.0.9=h14c3975_0
  - xorg-libxdmcp=1.1.3=h516909a_0
  - xorg-libxext=1.3.4=h516909a_0
  - xorg-libxfixes=5.0.3=h516909a_1004
  - xorg-libxi=1.7.10=h516909a_0
  - xorg-libxpm=3.5.13=h516909a_0
  - xorg-libxrender=0.9.10=h516909a_1002
  - xorg-libxt=1.1.5=h516909a_1003
  - xorg-libxtst=1.2.3=h516909a_1002
  - xorg-recordproto=1.14.2=h516909a_1002
  - xorg-renderproto=0.11.1=h14c3975_1002
  - xorg-xextproto=7.3.0=h14c3975_1002
  - xorg-xproto=7.0.31=h14c3975_1007
  - xz=5.2.4=h14c3975_1001
  - yaml=0.2.2=h516909a_1
  - zipp=1.0.0=py_0
  - zlib=1.2.11=h516909a_1006
  - zstd=1.4.4=h3b9ef0a_1
philres commented 4 years ago

Thanks a lot, will do that.