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.
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'