picard error in trinty pipeline
2
1
Entering edit mode
3.8 years ago
eyonesi ▴ 60

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 • 960 views
ADD COMMENT
4
Entering edit mode
3.8 years ago
Ram 43k

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 COMMENT
4
Entering edit mode
3.8 years ago
JC 13k

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

export PICARD_HOME="$HOME/picard-2.23.0"
ADD COMMENT

Login before adding your answer.

Traffic: 1470 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6