python3 danpos.py dtriple --out path/to/output/folder /path/to/data.BAM:/path/to/control.BAM
parsing from Bam file /mnt/Storage-2/raw-data/MNase-seq/aligned/BAM-files/q30+reads-only/TCDD/TCDD.q30.bam ...
Traceback (most recent call last):
File "danpos.py", line 1366, in <module>
if sys.argv[1]=='dpos':runDANPOS(command='dpos')
File "danpos.py", line 397, in runDANPOS
danpos(\
File "/home/eric/Programs/DANPOS3-master/functions.py", line 63, in danpos
groups[groupname]=loadinput(groups[groupname],fs=fs,cut=cut,save=False,wgfmt=wgfmt,\
File "/home/eric/Programs/DANPOS3-master/functions.py", line 822, in loadinput
rd=reads(infile,step=step,paired=paired,cut=cut,format='bam')
File "/home/eric/Programs/DANPOS3-master/reads.py", line 70, in __init__
elif file!="" and format=='bam':self.loadBam(file=file,step=self.step,cut=cut)
File "/home/eric/Programs/DANPOS3-master/reads.py", line 653, in loadBam
self.data[chr]['+'].resize(sizes[chr],refcheck=0)
TypeError: 'float' object cannot be interpreted as an integer
Traceback (most recent call last):
File "danpos.py", line 1366, in <module>
if sys.argv[1]=='dpos':runDANPOS(command='dpos')
File "danpos.py", line 397, in runDANPOS
danpos(\
File "/home/eric/Programs/DANPOS3-master/functions.py", line 63, in danpos
groups[groupname]=loadinput(groups[groupname],fs=fs,cut=cut,save=False,wgfmt=wgfmt,\
File "/home/eric/Programs/DANPOS3-master/functions.py", line 822, in loadinput
rd=reads(infile,step=step,paired=paired,cut=cut,format='bam')
File "/home/eric/Programs/DANPOS3-master/reads.py", line 70, in __init__
elif file!="" and format=='bam':self.loadBam(file=file,step=self.step,cut=cut)
File "/home/eric/Programs/DANPOS3-master/reads.py", line 661, in loadBam
if cut>0:self.rvClonal(cut=cut)
TypeError: '>' not supported between instances of 'str' and 'int'
Traceback (most recent call last):
File "danpos.py", line 1369, in <module>
elif sys.argv[1]=='dtriple':runDANPOS(command='dtriple')
File "danpos.py", line 307, in runDANPOS
danpos(\
File "/home/eric/Programs/DANPOS3-master/functions.py", line 357, in danpos
smtgroups[groupname]=pooledgroups[groupname].callPositions(os.path.join(opath,'pooled',groupname+addname+"positions.xls"),width=width,distance=distance,edge=0,fill_gap=fill_gap,fill_value=fill_value,pcut=pheight,height=height,calculate_P_value=0,poscal=1,regions=peaks,rd=rd)
File "/home/eric/Programs/DANPOS3-master/wig.py", line 381, in callPositions
smts.merge(wg=twig,distance=distance)
File "/home/eric/Programs/DANPOS3-master/summits.py", line 142, in merge
nps[ni],nvs[ni]=(ps[-2]+ps[-1])/2,wg.data[cr][((ps[-2]+ps[-1])/2)/wg.step] ###### added by Kaifu Chen Jul 10,2012 ######
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
R[write to console]: Warning messages:
R[write to console]: 1:
R[write to console]: In ppois(q, avg, lower.tail = FALSE, log = TRUE) :
R[write to console]: NaNs produced
R[write to console]: 2:
R[write to console]: In ppois(q, avg, lower.tail = FALSE, log = TRUE) :
R[write to console]: NaNs produced
Traceback (most recent call last):
File "danpos.py", line 1369, in <module>
elif sys.argv[1]=='dtriple':runDANPOS(command='dtriple')
File "danpos.py", line 307, in runDANPOS
danpos(\
File "/home/eric/Programs/DANPOS3-master/functions.py", line 357, in danpos
smtgroups[groupname]=pooledgroups[groupname].callPositions(os.path.join(opath,'pooled',groupname+addname+"positions.xls"),width=width,distance=distance,edge=0,fill_gap=fill_gap,fill_value=fill_value,pcut=pheight,height=height,calculate_P_value=0,poscal=1,regions=peaks,rd=rd)
File "/home/eric/Programs/DANPOS3-master/wig.py", line 381, in callPositions
smts.merge(wg=twig,distance=distance)
File "/home/eric/Programs/DANPOS3-master/summits.py", line 143, in merge
nps[ni](ps[-2]+ps[-1])/2
TypeError: 'numpy.int64' object is not callable
R[write to console]: Warning messages:
R[write to console]: 1:
R[write to console]: In ppois(q, avg, lower.tail = FALSE, log = TRUE) :
R[write to console]: NaNs produced
R[write to console]: 2:
R[write to console]: In ppois(q, avg, lower.tail = FALSE, log = TRUE) :
R[write to console]: NaNs produced
total time elapsed: 0.10416666666666667 hours 0.0 minutes 0.0 seconds
job done, cheers!
R[write to console]: Warning messages:
R[write to console]: 1:
R[write to console]: In ppois(q, avg, lower.tail = FALSE, log = TRUE) :
R[write to console]: NaNs produced
R[write to console]: 2:
R[write to console]: In ppois(q, avg, lower.tail = FALSE, log = TRUE) :
R[write to console]: NaNs produced
--- modulename:_rinterface_capi, funcname: _TYPEOF_rinterface_capi(218): return robj.sxpinfo.type
34989477 70 18201306
34989477 80 18201306
34989477 90 18201306
34989477 100 18201306
Traceback (most recent call last):
File "danpos.py", line 1369, in <module>
elif sys.argv[1]=='dtriple':runDANPOS(command='dtriple')
File "danpos.py", line 333, in runDANPOS
pcfer=0)#args.pcfer)#0)
File "/home/eric/Programs/DANPOS3-master/functions.py", line 427, in danpos
fuzFDRlist=fuzFDR(cwig=pooledgroups[groupnames[1]],twig=pooledgroups[groupnames[0]],simu=fdrsimu,rd=rd,regions=peaks)
File "/home/eric/Programs/DANPOS3-master/functions.py", line 1178, in fuzFDR
vec[id]=tempv[0]
IndexError: index 100000 is out of bounds for axis 0 with size 100000