Samtools Pileup Characters
1
0
Entering edit mode
12.1 years ago
axelwilhelm ▴ 120

I know $ means end of read and ^ beginning of read, wikipedia says that:

+[0-9]+[ACGTNacgtn]+ denotes an insertion of one or more bases

-[0-9]+[ACGTNacgtn]+ denotes a deletion of one or more bases

So what does caret followed by a closed bracket mean?

gg$GGGgGggG^]G

samtools mpileup • 4.5k views
ADD COMMENT
6
Entering edit mode
12.1 years ago
Andreas ★ 2.5k

Six G's on the reverse strand (lower case), Six G's on the forward strand (uppercase), once the end of a read (the dollar sign) one start of a read segment (the caret sign) followed by the "ASCII of the character following ^ minus 33 gives the mapping quality" which is in this case: ord(']')-33=60 See the pileup format description

Andreas

Note: Corrected an earlier version which wrongly used ord('[')-33=58.

ADD COMMENT
0
Entering edit mode

Exactly, thanx for reminding. ]-33=60.

ADD REPLY

Login before adding your answer.

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