-
Notifications
You must be signed in to change notification settings - Fork 0
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 ReaderAnalyser.py #1
Comments
Hi @marlenegallet, can you post the first few lines of your loci file? (The Best, |
Hi @leonschuetz, chr start end target_repeat Best regards, |
Hi @marlenegallet, the header line has to start with Best, |
Hi @leonschuetz Could you sent a template.bed because I has a new error: ['chr', 'start', 'end'] Thanks a lot for your help |
Hi @marlenegallet, that's the file we use: Best, |
Hi @leonschuetz, Thanks for your .bed. Thanks for your help |
Hi @marlenegallet, the straglr input file has to cotain the following columns: It seems that the last column is missing in your file. Best, |
Hi @leonschuetz, That's correct, straglr ouput doesn't not contain these columns. Just to be sure, to use straglrOn, it's necessary to use .bed and .tsv generated from straglr.py. So it is necessary to modify the straglr.bed? Thanks for your help |
Hi @marlenegallet, the .tsv file remains unchanged, but for the .bed file you have to annotate the last columns. Best, |
Thanks a lot for the precision, |
Hi @BraunThomas,
I tried to use StraglrOn but I have some issues. I'm not sure that I use your addon correctly.
Here the command lines I used:
python straglron.py -o /path/output_directory --hist --score /path/straglr.bed /path/straglr.tsv /path/loci.bed
Is it correct?
Here is the following response:
Traceback (most recent call last):
File "/opt/StraglrOn-0.2.2/src/straglron.py", line 136, in
main()
File "/opt/StraglrOn-0.2.2/src/straglron.py", line 111, in main
loci_dict = ra.lociBedReader(args.loci_file)
File "/opt/StraglrOn-0.2.2/src/utils/ReaderAnalyser.py", line 130, in lociBedReader
key = locus[header.index("chr")] + ":" + locus[header.index("start")] + "-" + locus[header.index("end")]
ValueError: 'chr' is not in list
I checked all the headers in bed files are valides. could you help me?
why is there a ReaderAnalyser - Kopie.py ?
I would appreciate it if there is any tips to fix it.
Thank you!
The text was updated successfully, but these errors were encountered: