This is a test version of Biostars. For the public version, visit https://www.biostars.org.
genome sequence look up tool

Is there a tool to look up genomic sequences? Something in python would be most helpful. For example something like this:

>>>getseq('chr1'.'100500','100505')
AACTGC
sequence genome

search this site for "samtools faidx" and the related python libraries (pyfaidx)

Thanks! This is perfect! Knew this had to exist already.

1 answer

BioPython and pyfaidx in python, samtools on the command-line

Log in to answer this question.