{"action":"opened","issue":{"url":"https://api.github.com/repos/taoliu/MACS/issues/153","repository_url":"https://api.github.com/repos/taoliu/MACS","labels_url":"https://api.github.com/repos/taoliu/MACS/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/taoliu/MACS/issues/153/comments","events_url":"https://api.github.com/repos/taoliu/MACS/issues/153/events","html_url":"https://github.com/taoliu/MACS/issues/153","id":180640380,"number":153,"title":"local variable 'dup_locs' referenced before assignment","user":{"login":"vsvinti","id":18534985,"avatar_url":"https://avatars.githubusercontent.com/u/18534985?v=3","gravatar_id":"","url":"https://api.github.com/users/vsvinti","html_url":"https://github.com/vsvinti","followers_url":"https://api.github.com/users/vsvinti/followers","following_url":"https://api.github.com/users/vsvinti/following{/other_user}","gists_url":"https://api.github.com/users/vsvinti/gists{/gist_id}","starred_url":"https://api.github.com/users/vsvinti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsvinti/subscriptions","organizations_url":"https://api.github.com/users/vsvinti/orgs","repos_url":"https://api.github.com/users/vsvinti/repos","events_url":"https://api.github.com/users/vsvinti/events{/privacy}","received_events_url":"https://api.github.com/users/vsvinti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T13:28:57Z","updated_at":"2016-10-03T13:28:57Z","closed_at":null,"body":"Hi there\r\n\r\nI am a mac2 newbie and I am not sure if this is a macs2 problem or something upstream, but perhaps somebody can guide me in the right direction. \r\n\r\nI ran macs2 cor several treatment samples using matched control samples, and they all ran fine except for this particular case where I get the following error:\r\n\r\n<pre>\r\nINFO  @ Mon, 03 Oct 2016 12:31:30:  70000000 \r\nINFO  @ Mon, 03 Oct 2016 12:33:32: #1 mean fragment size is determined as 144 bp from treatment \r\nINFO  @ Mon, 03 Oct 2016 12:33:32: #1 fragment size = 144 \r\nINFO  @ Mon, 03 Oct 2016 12:33:32: #1  total fragments in treatment: 194500190 \r\nINFO  @ Mon, 03 Oct 2016 12:33:32: #1 user defined the maximum fragments... \r\nINFO  @ Mon, 03 Oct 2016 12:33:32: #1 filter out redundant fragments by allowing at most 1 identical fragment(s) \r\nTraceback (most recent call last):\r\n  File \"/exports/igmm/software/pkg/el7/apps/bcbio/20160916/bin/macs2\", line 4, in <module>\r\n    __import__('pkg_resources').run_script('MACS2==2.1.1.20160309', 'macs2')\r\n  File \"/exports/igmm/software/pkg/el7/apps/bcbio/share2/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py\", line 726, in run_script\r\n  File \"/exports/igmm/software/pkg/el7/apps/bcbio/share2/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/pkg_resources/__init__.py\", line 1491, in run_script\r\n  File \"/exports/igmm/software/pkg/el7/apps/bcbio/share2/anaconda/lib/python2.7/site-packages/MACS2-2.1.1.20160309-py2.7-linux-x86_64.egg/EGG-INFO/scripts/macs2\", line 617, in <module>\r\n    \r\n  File \"/exports/igmm/software/pkg/el7/apps/bcbio/share2/anaconda/lib/python2.7/site-packages/MACS2-2.1.1.20160309-py2.7-linux-x86_64.egg/EGG-INFO/scripts/macs2\", line 57, in main\r\n    \r\n  File \"build/bdist.linux-x86_64/egg/MACS2/callpeak_cmd.py\", line 103, in run\r\n  File \"MACS2/IO/PairedEndTrack.pyx\", line 354, in MACS2.IO.PairedEndTrack.PETrackI.separate_dups (MACS2/IO/PairedEndTrack.c:5775)\r\nUnboundLocalError: local variable 'dup_locs' referenced before assignment\r\n</pre>\r\n\r\nThe job was run twice and got the same error. Sadly searching for it in google didn't return much. The input bam files look ok (and were generated the same way as the others). \r\n\r\nI would appreciate any thoughts as to what you might think can cause this error. \r\n\r\nMany thanks\r\nvicky"}}
{"actor":{"display_login":"vsvinti"}}