reference-sequence-fetcher’s documentation¶
reference-sequence-fetcher is a python client to retrieve sequence and metadata from reference servers in a user friendly and easy to use manner. It has requests library at its heart and allows you to fetch sequences using a Fetcher object.
An example would be like:
>>from reference_sequence_fetcher import fetcher
>>fethcer = Fetcher('yourserver.com')
>>fetcher.fetch_sequence('<checksum>')
>>ATGCATCGACTG.......ATGCATCGACTG
- Fetcher object typically has two methods:
- fetch_info to fetch the service info of the server used in that particular Fetcher object
- fetch_sequence to fetch the sequence metadata
- fetch_metadata to fetch the metadata of the sequence
and three class methods info, sequenece and metadata
Note
reference-sequence-fetcher is stable only for Python3
Report an Issue¶
Please direct all bug reports and feature requests to the project’s issue tracker on GitHub.