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

Genbank file with feature output for gene? #258

Open
harijay opened this issue Nov 14, 2021 · 0 comments
Open

Genbank file with feature output for gene? #258

harijay opened this issue Nov 14, 2021 · 0 comments

Comments

@harijay
Copy link

harijay commented Nov 14, 2021

I am quite new to pyensembl and really like the ease of use for getting introns, exons and transcripts for a gene. Is it possible right now to get a Genbank file for a pyensembl Gene object?

class GbFileFromGeneName(object):

    def __init__(self,gene_name):
        """Creates a PyEnsembl gene object given a gene name"""
        data = pyensembl.EnsemblRelease(104)
        self.gene = data.genes_by_name(gene_name)[0]

    def get_file(self):
    # Dont see any support for output in Gene object
        pass

I am currently planning to manually compute ann the CCDS and other Features for a genbank file for a gene--I am vary of re-inventing the wheel. Apologies if I missed it in the documentation.

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