commit/galaxy-central: Jeremy Goecks: BAM data provider: hash to create read guids. This is line with other data providers and decreases payload size slightly.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/2edce562ccaa/ Changeset: 2edce562ccaa User: Jeremy Goecks Date: 2014-04-25 16:50:47 Summary: BAM data provider: hash to create read guids. This is line with other data providers and decreases payload size slightly. Affected #: 1 file diff -r 611117ed0a88654c736bc5722016b81874475c95 -r 2edce562ccaa8bdd12e40b2263646f7b9cf93966 lib/galaxy/visualization/data_providers/genome.py --- a/lib/galaxy/visualization/data_providers/genome.py +++ b/lib/galaxy/visualization/data_providers/genome.py @@ -1018,7 +1018,7 @@ if qname in paired_pending: # Found pair. pair = paired_pending[qname] - results.append( [ "%i_%s" % ( pair['start'], qname ), + results.append( [ hash( "%i_%s" % ( pair['start'], qname ) ), pair['start'], read.pos + read_len, qname, @@ -1033,7 +1033,7 @@ 'rlen': read_len, 'strand': strand, 'cigar': read.cigar, 'mapq': read.mapq } count += 1 else: - results.append( [ "%i_%s" % ( read.pos, qname ), + results.append( [ hash( "%i_%s" % ( read.pos, qname ) ), read.pos, read.pos + read_len, qname, read.cigar, strand, read.seq, read.mapq ] ) count += 1 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)
-
commits-noreply@bitbucket.org