-
Notifications
You must be signed in to change notification settings - Fork 107
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
Error on preprocess_features.py #1
Comments
Hi, It appears that the program is examining a FASTA file where it expects a file containing a table with two columns. The first column should have the chromosome name, like "chr1". The second column should have the length of the chromosome. It's the "-c" option that specifies the path to this file. If you're not able to figure out why your command doesn't work, print it here, and I'll give you a hand. Dave |
Hi preprocess_features.py -y -m 200 -s 600 -o ../data/encode_roadmap -c and i checked the file hg19.fa , on the first column, I found chr1 but
Do I have wrong data file ? 2015-10-08 22:38 GMT+09:00 David Kelley [email protected]:
|
Yes, you'll want to provide the file human.hg19.genome in the directory data/genomes to the -c option. |
Ah, I see that the tutorial specified the wrong file. I corrected the error. |
Hi
when I run preprocess_features.py
I got out of index error from line 76
['>chr1']
Traceback (most recent call last):
File "./preprocess_features.py", line 420, in
main()
File "./preprocess_features.py", line 76, in main
chrom_lengths[a[0]] = int(a[1])
IndexError: list index out of range
so I printed a and the result is
['>chr1']
Is there anythin I missed
thx
The text was updated successfully, but these errors were encountered: