I already used the STAR tool to align the reads and quantify against the transcript using the following command --quantMode TranscriptomeSAM, then i am using the following command to get the "raw count":
STAR --runMode inputAlignmentsFromBAM --runThreadN 24 --inputBAMfile SRR1164787Aligned.toTranscriptome.out.bam --outWigType bedGraph --outWigStrand Unstranded --outWigNorm None
I am now getting two output files: '
Signal.Unique.str1.out.bg' and '
Signal.UniqueMultiple.str1.out.bg'.
head
Signal.Unique.str1.out.bgNM_014704 73 75 3
NM_014704 75 123 4
NM_014704 123 125 1
NM_014704 134 160 3
NM_014704 160 184 4
NM_014704 184 189 1
NM_014704 189 210 2
NM_014704 210 215 1
NM_014704 215 230 2
NM_014704 230 239 4
head
Signal.UniqueMultiple.str1.out.bgNM_014704 73 75 3
NM_014704 75 123 4
NM_014704 123 125 1
NM_014704 134 160 3
NM_014704 160 184 4
NM_014704 184 189 1
NM_014704 189 210 2
NM_014704 210 215 1
NM_014704 215 230 2
NM_014704 230 239 4
I know the first field is the transcript name, but what about the other fields. What i am looking for is the total number of reads for each transcript.