You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO @ Sat, 12 Nov 2016 12:10:38: #3 Call peaks...
Traceback (most recent call last):
File "/usr/bin/macs2", line 370, in
main()
File "/usr/bin/macs2", line 193, in main
if t1 > c1:
UnboundLocalError: local variable 't1' referenced before assignment
Hi Tao,
I just had tried macs2/2.1.1.20160309 and got the same error:
INFO @ Thu, 08 Dec 2016 13:15:27: #3 Call peaks...
Traceback (most recent call last):
File "/usr/bin/macs2", line 370, in
main()
File "/usr/bin/macs2", line 193, in main
if t1 > c1:
UnboundLocalError: local variable 't1' referenced before assignment
Hi @paulicm-UCD, sorry for a very late followup. It seems like you were keeping running a 'macs2' script from system folder '/usr/bin/macs2' which you may not have permission to update. I suspect that that script was from an unknown older installation because currently there is no 't1>c1' in macs2 script at line 193. And you new updates were at different location so you need to set linux environment correctly.
Dear Tao,
I tried to use --keep-dup all and got this error:
INFO @ Sat, 12 Nov 2016 12:10:38: #3 Call peaks...
Traceback (most recent call last):
File "/usr/bin/macs2", line 370, in
main()
File "/usr/bin/macs2", line 193, in main
if t1 > c1:
UnboundLocalError: local variable 't1' referenced before assignment
My script was:
module load macs2/2.1.0.20140616
macs2 callpeak -t x.bam -c input.bam -f BAM -g hs -n x_vs_input -B --keep-dup all -q 0.01
When using --keep-all auto, I had no errors. Could you please advice re: usage for -keep-dup all?
Thanks in advance,
Pauli
The text was updated successfully, but these errors were encountered: