This is a test version of Biostars. For the public version, visit https://www.biostars.org.
pygr not finding chr9

Getting back an error in seqdb in pygr

no key 'chr9' in database <SequenceFileDB '/local/resources/hg18/karyotypic/hg18.fa'>

While it worked fine for chr15, what is the error mean, that it can't find the chromosome in the assembly? Thanks!

python pygr

print all keys and see what is going on print db.keys()

So I believe this was due to a corrupt assembly file (i.e. hg18.fa). I rebuilt it and it worked.

0 answers

No answers yet.

Log in to answer this question.