Seqhub Public API
Contig DNA
Fetch Contig DNA
POST
https://api.seqhub.org
/api/v1/contig-dna
Fetch DNA for up to 100 ranges on contigs returned by a search. Identify the contig with a match's sampleId and contigId, and give 1-based inclusive start/end coordinates. Any start/end in a search response works: a gene's cdsId, a Pfam domain, an Rfam hit or an SAE run.
Sequences are always returned on the plus strand, so reverse-complement minus-strand features yourself. If any range is invalid, for example past the end of its contig, the whole request fails.
Fetch Contig DNA › Request Body
ContigDnaRange[] · minItems: 1 · maxItems: 100 · required
Fetch Contig DNA › Responses
Successful Response
ContigDnaSequence[] · required