Hello,
I am using picard-tools CollectRNAMetrices to get the read statistics of mapping to exons, and UTRs etc. I am using
java -jar /software/shared/apps/x86_64/picard-tools/1.129/picard.jar CollectRnaSeqMetrics \
REF_FLAT=formatted_chrALL.refflat2 \
STRAND_SPECIFICITY=NONE \
INPUT=out.prefix.bam \
OUTPUT=RNAMetrices.out
and the reflat file looks like
Ec-00_000010 Ec-00_000010 chr_00 - 149 6731 149 6731 10 149,897,1535,2091,2535,3474,4006,4702,6245,6709, 428,1100,1674,2268,3070,3557,4155,4968,6363,6731,
Ec-00_000020 Ec-00_000020 chr_00 - 28572 29122 28572 29122 2 28572,28937, 28582,29122,
Ec-00_000030 Ec-00_000030 chr_00 + 29412 32214 29412 32214 1 29412, 32214,
Ec-00_000040 Ec-00_000040 chr_00 + 34287 34360 34287 34360 1 34287, 34360,
Ec-00_000050 Ec-00_000050 chr_00 - 36705 39329 36705 37902 3 36705,37422,39143, 36870,37944,39329,
Ec-00_000060 Ec-00_000060 chr_00 + 43007 44099 43007 44099 3 43007,43404,43829, 43046,43455,44099,
Ec-00_000070 Ec-00_000070 chr_00 + 54394 60308 54394 60255 6 54394,54969,55586,56305,57343,59928, 54448,55047,55672,56473,57542,60308,
Ec-00_000080 Ec-00_000080 chr_00 - 109869 113579 110071 113077 8 109869,110666,110999,111347,111759,111995,112509,112990, 110443,110759,111151,111504,111818,112233,112557,113579,
Ec-00_000090 Ec-00_000090 chr_00 - 129160 133715 129160 133650 8 129160,129561,130334,131503,131773,132036,132595,132961, 129285,129703,130418,131581,131848,132102,132638,133715,
Ec-00_000100 Ec-00_000100 chr_00 + 144813 144981 144813 144981 1 144813, 144981,
But I keep getting an output like
## htsjdk.samtools.metrics.StringHeader
# picard.analysis.CollectRnaSeqMetrics REF_FLAT=formatted_chrALL.refflat2 STRAND_SPECIFICITY=NONE INPUT=out.prefix.bam OUTPUT=RNAMetrices.out MINIMUM_LENGTH=500 RRNA_FRAGMENT_PERCENTAGE=0.8 METRIC_ACCUMULATION_LEVEL=[ALL_READS] ASSUME_SORTED=true STOP_AFTER=0 VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false
## htsjdk.samtools.metrics.StringHeader
# Started on: Wed Feb 03 16:30:29 CET 2016
## METRICS CLASS picard.analysis.RnaSeqMetrics
PF_BASES PF_ALIGNED_BASES RIBOSOMAL_BASES CODING_BASES UTR_BASES INTRONIC_BASES INTERGENIC_BASES IGNORED_READS CORRECT_STRAND_READS INCORRECT_STRAND_READS PCT_RIBOSOMAL_BASES PCT_CODING_BASES PCT_UTR_BASES PCT_INTRONIC_BASES PCT_INTERGENIC_BASES PCT_MRNA_BASES PCT_USABLE_BASES PCT_CORRECT_STRAND_READS MEDIAN_CV_COVERAGE MEDIAN_5PRIME_BIAS
MEDIAN_3PRIME_BIAS MEDIAN_5PRIME_TO_3PRIME_BIAS SAMPLE LIBRARY READ_GROUP
5159550200 4343544551 0 0 0 4343544551 0 0 0 0 0 0 1 0 0 0 0 0 0 0
I am sure my reads are mapped to exons as well. Could anyone have any idea what could be going wrong?
Any suggestions will be helpful!
Please post the output of
samtools view -H [your BAM file]
for that the output looks like
And this is the same chromosome id in my refflat file too