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

.complete method of Transcript class return a wrong result for some transcript ids. #252

Open
y9c opened this issue May 17, 2021 · 0 comments

Comments

@y9c
Copy link
Contributor

y9c commented May 17, 2021

return self.genome.transcript_sequences.get(self.id)

Minimum example.

cress_genome = pyensembl.Genome(
    reference_name="TAIR10",
    annotation_name="Arabidopsis_thaliana",
    gtf_path_or_url="./Arabidopsis_thaliana.TAIR10.genome.gtf",
    transcript_fasta_paths_or_urls="./Arabidopsis_thaliana.TAIR10.transcriptome.fa",
    protein_fasta_paths_or_urls="./Arabidopsis_thaliana.TAIR10.pep.all.fa.gz",
)

print(gene.transcripts[0].complete)
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