commit/galaxy-central: jgoecks: Fix read id bug in Trackster BAM data provider.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/4a63c840c6ab/ changeset: r5281:4a63c840c6ab user: jgoecks date: 2011-03-29 20:28:17 summary: Fix read id bug in Trackster BAM data provider. affected #: 1 file (6 bytes) --- a/lib/galaxy/visualization/tracks/data_providers.py Tue Mar 29 13:59:07 2011 -0400 +++ b/lib/galaxy/visualization/tracks/data_providers.py Tue Mar 29 14:28:17 2011 -0400 @@ -306,12 +306,12 @@ if read.is_proper_pair: if qname in paired_pending: # one in dict is always first pair = paired_pending[qname] - results.append( [ "%i_%s" % ( read.pos, qname ), + results.append( [ "%i_%s" % ( pair['start'], qname ), pair['start'], read.pos + read_len, qname, [ pair['start'], pair['end'], pair['cigar'], pair['seq'] ], - [ read.pos, read.pos + read_len, read.cigar, seq] + [ read.pos, read.pos + read_len, read.cigar, seq ] ] ) del paired_pending[qname] else: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket