Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index out of range error when using HOME-pairwise #11

Closed
scottgigante opened this issue Nov 5, 2017 · 1 comment
Closed

Index out of range error when using HOME-pairwise #11

scottgigante opened this issue Nov 5, 2017 · 1 comment

Comments

@scottgigante
Copy link

Hello,

I'm having some issues getting HOME to run.

$ HOME-pairwise -t CG -i  ../input.tsv  -o ../out -sin -npp 20
Traceback (most recent call last):
  File "/wehisan/home/allstaff/g/gigante.s/soft/lister_home/bin/HOME-pairwise", line 4, in <module>
    __import__('pkg_resources').run_script('HOME==0.4', 'HOME-pairwise')
  File "/usr/local/bioinfsoftware/python/python-2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 742, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/bioinfsoftware/python/python-2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1510, in run_script
    exec(script_code, namespace, namespace)
  File "/wehisan/home/allstaff/g/gigante.s/soft/lister_home/lib/python2.7/site-packages/HOME-0.4-py2.7.egg/EGG-INFO/scripts/HOME-pairwise", line 395, in <module>

IndexError: list index out of range

My input file is as follows:

$ less ../input.tsv
alt ~/path/to/data/alt.summary.home.tsv
ref ~/path/to/data/ref.summary.home.tsv

and my data files look like this

$ head ~/path/to/data/alt.summary.home.tsv
chr5    149642973       +       CG      34      42
chr9    121883727       +       CG      3       5
chr9    24213925        +       CG      1       3
chr2    180792870       +       CG      5       8
chr1    7779688 +       CG      1       8
chr9    120952088       +       CG      1       2
chr6    97035598        +       CG      2       4
chr3    127312598       +       CG      10      14
chr3    42041023        +       CG      4       7
chr7    74422202        +       CG      5       8

The problem is the same without -sin and/or -npp. Am I doing something wrong?

Thanks!
Scott

@scottgigante
Copy link
Author

Sorry, I worked it out. My input file was not tab-spaced. Sorry for the spam!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant