pygr not finding chr9
0
0
Entering edit mode
10.5 years ago
alex ▴ 250

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 • 1.6k views
ADD COMMENT
1
Entering edit mode

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

ADD REPLY
1
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1611 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6