I got the sam file from the tophat with UCSC reference. Then I ran PICARD/ReorderSam with the reference from UCSC, which downloaded from the tophat website. And the reference folder contained .fa, .dict and .fa.fai. However the ReorderSam always gave me error message.
Here is my code:
java -jar /home/software/picard-tools-1.79/ReorderSam.jar I=/mnt/mutation/bamfile/sample1_f.bam O=/mnt/mutation/bamfile/sample1_sorted_reorder.bam R=/home//reference/Homo_sapiens/UCSC/hg19/Sequence/WholeGenomeFasta/genome.fa
Here is the error message:
Exception in thread "main" net.sf.picard.PicardException: New reference sequence does not contain a matching contig for chr11_gl000202_random
Any comments on that???
Here is my code:
java -jar /home/software/picard-tools-1.79/ReorderSam.jar I=/mnt/mutation/bamfile/sample1_f.bam O=/mnt/mutation/bamfile/sample1_sorted_reorder.bam R=/home//reference/Homo_sapiens/UCSC/hg19/Sequence/WholeGenomeFasta/genome.fa
Here is the error message:
Exception in thread "main" net.sf.picard.PicardException: New reference sequence does not contain a matching contig for chr11_gl000202_random
Any comments on that???
Comment