openvax / pyensembl

Python interface to access reference genome features (such as genes, transcripts, and exons) from Ensembl
Apache License 2.0
365 stars 66 forks source link

"genome" was provided but still raise an error #254

Open limin321 opened 3 years ago

limin321 commented 3 years ago

Hi,

I want to extract a cDNA sequence by running the following code:

print(transcript.Transcript('MYO6-204','6',75749239,75919537,'+','protein_coding','ENSG00000196586','GRCh38'))

However, it raised some error showed as below

"

Screen Shot 2021-05-23 at 9 42 57 AM

"

I thought "'GRCh38'" will specify which genome to research, why still have this issue?

Can anyone help what might go wrong with my code?

Thanks in advance.

Best, LC