@@ -1162,8 +1162,6 @@ def annotate_vcf_n_reads(args):
1162
1162
1163
1163
vcf = VCFReader (args .vcf )
1164
1164
chrom = None
1165
- pref = 'Depth of reads '
1166
- suff = ' by strand (fwd, rev)'
1167
1165
g_open = 5
1168
1166
g_ext = 3
1169
1167
# use parasail.dnafull (match 5, mismatch -4)
@@ -1178,16 +1176,23 @@ def annotate_vcf_n_reads(args):
1178
1176
assert np .unique (matrix .matrix .diagonal ()[:4 ])[0 ] == match
1179
1177
1180
1178
ann_meta = [
1181
- ('INFO' , 'DP' , 1 , 'Integer' , pref + 'at pos' ),
1182
- ('INFO' , 'DPS' , 2 , 'Integer' , pref + 'at pos' + suff ),
1179
+ ('INFO' , 'DP' , 1 , 'Integer' ,
1180
+ 'Depth of reads at position, calculated from read pileup, '
1181
+ 'capped to ~8000.' ),
1182
+ ('INFO' , 'DPS' , 2 , 'Integer' ,
1183
+ 'Depth of reads at position by strand (fwd, rev), calculated '
1184
+ 'from read pileup, capped to ~8000 total.' ),
1183
1185
('INFO' , 'DPSP' , 1 , 'Integer' ,
1184
- pref + 'spanning pos +-{}' .format (args .pad )),
1186
+ 'Depth of reads spanning pos +-{}. ' .format (args .pad ) +
1187
+ 'This is not capped as in the case of DP and DPS.' ),
1185
1188
('INFO' , 'SR' , '.' , 'Integer' ,
1186
1189
'Depth of spanning reads by strand which best align to each '
1187
- 'allele (ref fwd, ref rev, alt1 fwd, alt1 rev, etc.)' ),
1190
+ 'allele (ref fwd, ref rev, alt1 fwd, alt1 rev, etc.). '
1191
+ 'This is not capped as in the case of DP and DPS.' ),
1188
1192
('INFO' , 'AR' , 2 , 'Integer' ,
1189
1193
'Depth of ambiguous spanning reads by strand which align '
1190
- 'equally well to all alleles (fwd, rev)' ),
1194
+ 'equally well to all alleles (fwd, rev). '
1195
+ 'This is not capped as in the case of DP and DPS.' ),
1191
1196
('INFO' , 'SC' , '.' , 'Integer' ,
1192
1197
'Total alignment score to each allele of spanning reads by '
1193
1198
'strand (ref fwd, ref rev, alt1 fwd, alt1 rev, etc.) '
0 commit comments