pypath.inputs.biomart.biomart_query§
- pypath.inputs.biomart.biomart_query(attrs: str | list[str], filters: str | list | None = None, transcript: bool = False, peptide: bool = False, gene: bool = False, dataset: str = 'hsapiens_gene_ensembl')[source]§
Query the Ensembl Biomart web service. Use https://www.ensembl.org/biomart/martview/ to check for attribute and dataset names.
- Args
- attrs:
One or more Ensembl attribute names.
- filters:
One or more Ensembl filter names.
- transcript:
Include Ensembl transcript IDs in the result.
- peptide:
Include Ensembl peptide IDs in the result.
- gene:
Include Ensembl gene IDs in the result.
- dataset:
An Ensembl dataset name.
- Yields:
Named tuples with the requested attributes for each record returned by Ensembl Biomart.