Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing features in GFF3 data #108

Open
thobalose opened this issue Feb 9, 2016 · 0 comments
Open

Missing features in GFF3 data #108

thobalose opened this issue Feb 9, 2016 · 0 comments

Comments

@thobalose
Copy link

Hello,

I have a gff3 file with the following limits:

gff3

I am using the following to limit to the features of interest:

limit_info=dict(
            gff_source_type=[
                ('ena', 'transcript'), ('ena', 'CDS'), ('ena', 'gene'), ('ena', 'exon'),
                ('ena', 'tRNA_gene'), ('ena', 'ncRNA_gene'), ('ena', 'rRNA_gene'), 
                ('ena', 'pseudogene')
            ],
            gff_source=['ena']
)

However, I am having trouble retrieving data about the transcripts and CDS when parsing and looking for feature.type == 'transcript' or feature.type == 'CDS' in rec.features. It is as if these are not being captured.
What's interesting is that, when the limit_info dict is reduced to ('ena', 'transcript') or ('ena', 'CDS'), I do retrieve this data.

What might be the issue here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant