MaciekAber / pysam

Automatically exported from code.google.com/p/pysam
0 stars 0 forks source link

Samfile.pileup has no way to call chromosomes #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
samfile = pysam.Samfile(in.bam,"rb")
for basepile in samfile.pileup():
 chromosome = basepile.tid # only gives tid
 chromosome = samfile.getTarget(basepile.tid) # dosen't work

What is the expected output? What do you see instead?
Would like to get the chromosome corresponding to each base in pileup

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Christof...@gmail.com on 20 Oct 2009 at 8:37

GoogleCodeExporter commented 8 years ago

Original comment by martingo...@gmail.com on 21 Oct 2009 at 1:03