how to set R parameter in MergeBamAlignment in Picard
1
0
Entering edit mode
6.1 years ago
Yingzi Zhang ▴ 90

Dear all, I am trying to use picard MergeBamAlignment to prepare files for GATK. I know the usage should be

java -jar picard.jar MergeBamAlignment \
ALIGNED=aligned.bam \
UNMAPPED=unmapped.bam \
O=merge_alignments.bam \
R=reference_sequence.fasta

Actually I wrote so. But it reported that

SAMException: Could not find dictionary next to reference file file://<reference_sequence.fasta>

Why should this happened please? It could recognized my reference sequence file because there was

REFERENCE_SEQUENCE=reference_sequence.fasta

in the report. Is there any index I need to built? Thank you.

Yingzi

software error • 1.3k views
ADD COMMENT
2
Entering edit mode
6.1 years ago
ATpoint 85k

Yes, you have to build a reference dictionary. Google will provide you with details.

ADD COMMENT
0
Entering edit mode

Got it. Thanks a lot.

ADD REPLY

Login before adding your answer.

Traffic: 2604 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