freqsap.dbsnp
Module for interacting with the dbSNP database API.
Classes
Interface to interact with the dbSNP database to obtain frequency information for specific variants. |
Module Contents
- class freqsap.dbsnp.DBSNP(timeout: int = 10)[source]
Bases:
freqsap.interfaces.VariantFrequencyAPIInterface to interact with the dbSNP database to obtain frequency information for specific variants.
- get(variation: freqsap.variation.Variation) freqsap.report.ReferenceSNPReport | None[source]
Get the ReferenceSNPReport for the given single amino-acid polymorphism.
- Parameters:
variation (Variation) – Variation for which to get the report.
- Returns:
Report if it is found on dbSNP, otherwise None.
- Return type:
ReferenceSNPReport | None