Closed aswani1208 closed 2 years ago
Hi @aswani1208 !
Thank for using bcbio and sorry about the issues!
1) Could you please organize your project according to the structure outlined here: https://bcbio-nextgen.readthedocs.io/en/latest/contents/configuration.html#project-structure
(And please place it outside of anaconda dir - it is a directory for bcbio code).
2) Have you installed bcbio tools and data, or just bcbio package, i.e.
what is the output of which bwa
in your bcbio installation.
Do you have genomes folder in the bcbio installation?
Sergey
Hi Sergey Thank you for the response. I will organize the project according to the outlined structure for sure. I have used these commands for the installation.
python3 bcbio_nextgen_install.py stable --tooldir=/tools --nodata --mamba bcbio_nextgen.py upgrade -u skip --genomes hg38 --aligners bwa
which bwa is returning /home/user/anaconda3/bin/bwa Yes, I have genomes folder in the bcbio installation user@:~/Fastq/bcbio/stable/genomes/Hsapiens/hg38 $ ls bwa config coverage editing rnaseq rtg seq snpeff srnaseq validation variation versions.csv viral
Hi @aswani1208 !
What was your absolute PATH to the installation dir? /home/user/Fastq/bcbio/stable ? What is in your PATH?
If you installed bcbio to /home/user/Fastq/bcbio/stable
your bwa should be in
/home/user/Fastq/bcbio/stable/anaconda/bin/bwa
rather than in `/home/user/anaconda3/bin/bwa
.
You likely have a mixture of conda environments from bcbio and from /home/user/anaconda3. Please see the docs on which conda configs to alter: https://bcbio-nextgen.readthedocs.io/en/latest/contents/development.html?highlight=conda#creating-a-separate-bcbio-installation
Sergey
Hi Sergey Thank you for the help i was able to rectify the error, but again having issues with picard (similar to #3553 )
it is showing File "/home/user/.local/lib/python3.7/site-packages/bcbio/provenance/do.py", line 106, in _do_run raise subprocess.CalledProcessError(exitcode, error_msg) subprocess.CalledProcessError: Command 'set -o pipefail; unset JAVA_HOME && export PATH=/home/user/Fastq/bcbio/stable/anaconda/bin:"$PATH" && picard -Xms750m -Xmx3500m -XX:+UseSerialGC CollectSequencingArtifactMetrics -REFERENCE_SEQUENCE /home/user/Fastq/bcbio/stable/genomes/Hsapiens/hg38/seq/hg38.fa -INPUT /home/user/Fastq/bcbio/undetermined/project/work/align/Undetermined/Undetermined-sort.bam -OUTPUT /home/user/Fastq/bcbio/undetermined/project/work/bcbiotx/tmpjylsv17b/Undetermined/Undetermined --VALIDATION_STRINGENCY SILENT /bin/bash: picard: command not found returned non-zero exit status 127.
Hi @aswani1208 !
Great news - could you please follow #3553 - they report that https://github.com/bcbio/bcbio-nextgen/pull/3556 solves the picard issue.
Sergey
Version info
To Reproduce Exact bcbio command you have used: bcbio_nextgen.py /home/user/Fastq/bcbio/stable/anaconda/bin/undetermined/gatkrun_sample.yaml -n ```
Your sample configuration file:
Observed behavior Error message or bcbio output:
Expected behavior A clear and concise description of what you expected to happen.
Log files Please attach (10MB max):
bcbio-nextgen.log
,bcbio-nextgen-commands.log
, andbcbio-nextgen-debug.log
.Additional context Add any other context about the problem here.