-
Notifications
You must be signed in to change notification settings - Fork 7
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
Issue for thread error #10
Comments
Hi @masterzhen119, Thanks for bringing up this issue. I looked at AltHap, and it seems that their segment file and H-PoP's (https://github.com/MinzhuXie/H-PoPG) fragment file has different formats. AltHap has two lines at the top of the file that give the number of columns and reads. H-PoP's fragment file does not require this. flopp requires H-PoP's file format, so AltHap's segment does not work. The segment/fragment file given to flopp must not have these two lines at the top. I noticed that flopp also requires tabs, and not spaces, in the segment/fragment file in the code. I have fixed this with the latest push, so that spaces also work. So this segment file:
should work now (with the latest version). Let me know how it goes. |
Thanks! And I will try and tell your result. |
After testing, it matches now! Thanks! |
I mimic the format like AltHap Input file Segment. After I give the third format code to use the Flopp.It has the following error:
./target/release/flopp -f /home/project11/Alt_test/test_EM_sim2/Data/0_1_althap_.txt -p 2 -o /home/project11/Alt_test/test_EM_sim2/Data/unpolished_results.txt
The error is:
Reading inputs (BAM/VCF/frags). thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 2', /home/project11/Zhen/flopp/src/file_reader.rs:60:41 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace
What should I do?
Thanks!
The text was updated successfully, but these errors were encountered: