Question: picard error in trinty pipeline
1
gravatar for eyonesi
4 months ago by
eyonesi40
eyonesi40 wrote:

Hi everybody,

I am running GATK pipeline for variant calling in trinity with following command.

/usr/local/bin/Trinityrnaseq-v2.6.6/Analysis/SuperTranscripts/AllelicVariants/run_variant_calling.py --st_fa ./SuperDuper.fasta --st_gtf ./SuperDuper.gff -p ./FCHG1.fq.gz  ./FCHG.fq.gz -o ./variant_calls_outdir

But I got following error:

Error, missing path to Picard-Tools in $PICARD_HOME.

based on the instructions on the trinity web, I need to set the installation directory to the environmental variable ${PICARD_HOME}. for this purpose (adding the picard path to $PATH) I tried following command but my problem was not solved.

PATH="$PATH:$HOME/picard-2.23.0" 
echo $PATH

output

/home/ubuntu/bin:/home/ubuntu/.local/bin:/home/ubuntu/anaconda3/bin:/home/ubuntu/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/picard-2.23.0

I don’t know how can I set the installation directory to the environmental variable ${PICARD_HOME}.

best regards

snp software error • 186 views
ADD COMMENTlink modified 4 months ago by JC11k • written 4 months ago by eyonesi40
4
gravatar for RamRS
4 months ago by
RamRS30k
Baylor College of Medicine, Houston, TX
RamRS30k wrote:

Please read the error message properly. You need to set PICARD_HOME to the installation directory, not add it to PATH. Try

PICARD_HOME=$HOME/picard-2.23.0

and then run the script again.

ADD COMMENTlink written 4 months ago by RamRS30k
4
gravatar for JC
4 months ago by
JC11k
Mexico
JC11k wrote:

The script is asking for the $PICARD_HOME variable, then you need to create it:

export PICARD_HOME="$HOME/picard-2.23.0"
ADD COMMENTlink written 4 months ago by JC11k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1750 users visited in the last hour