KeyError: '211000022278074'

39 views
Skip to first unread message

Amanda Jones

unread,
Jul 13, 2021, 11:51:57 AM7/13/21
to DANPOS
I'm running the dpos function on a set of paired control/treatments with their respective inputs.  The data is paired end.  As a note, my bams contains scaffold chromosomes, one of which is referenced in the KeyError error message.

Any idea what is causing this error?

Traceback (most recent call last):
  File "/applications/danpos-master/danpos3.1.1/danpos.py", line 1365, in <module>
    if sys.argv[1]=='dpos':runDANPOS(command='dpos')
  File "applications/danpos-master/danpos3.1.1/danpos.py", line 424, in runDANPOS
    pcfer=0)#args.pcfer)#0)                  
  File "/applications/danpos-master/danpos3.1.1/functions.py", line 174, in danpos
    if bggroupname!='None':temp.bgsub(pooledbggroups[bggroupname],lmd=lmd)
  File "/applications/danpos-master/danpos3.1.1/wig.py", line 166, in bgsub
    lth2=len(wig2.data[chrom])
KeyError: '211000022278074'

Thanks!
Reply all
Reply to author
Forward
0 new messages