commit/galaxy-central: jgoecks: Fix bug in GFF/GTF feature parser: new feature starts when transcript_id _or_ gene_id changes.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/a7bb384ec237/ changeset: r5191:a7bb384ec237 user: jgoecks date: 2011-03-07 21:40:24 summary: Fix bug in GFF/GTF feature parser: new feature starts when transcript_id _or_ gene_id changes. affected #: 1 file (7 bytes) --- a/lib/galaxy/datatypes/util/gff_util.py Mon Mar 07 13:47:16 2011 -0500 +++ b/lib/galaxy/datatypes/util/gff_util.py Mon Mar 07 15:40:24 2011 -0500 @@ -185,8 +185,8 @@ break gene_id = interval.attributes.get( 'gene_id', None ) transcript_id = interval.attributes.get( 'transcript_id', None ) - if transcript_id and transcript_id != feature_transcript_id and gene_id and \ - gene_id != feature_gene_id: + if ( transcript_id and transcript_id != feature_transcript_id ) or \ + ( gene_id and gene_id != feature_gene_id ): break # Interval associated with feature. 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