Entering edit mode
2.2 years ago
ngarber
▴
60
I'm new to pybiomart, and I'm trying to retrieve peptide sequences from a sequence dataset, but I get a BiomartException. Here's my code:
mart = server["ENSEMBL_MART_ENSEMBL"]
seq_mart = server["ENSEMBL_MART_SEQUENCE"]
seq_dataset = seq_mart["hsapiens_genomic_sequence"]
seq_dataset.query(attributes=["peptide"])
But this gives an error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tiltwolf/.local/lib/python3.10/site-packages/pybiomart/dataset.py", line 266, in query
raise BiomartException(response.text)
pybiomart.base.BiomartException: Query ERROR: caught BioMart::Exception::Configuration: No Importable Recieved in GenomicSequence
What's going on?