-
Notifications
You must be signed in to change notification settings - Fork 46
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
Incorrect zero-based VCF file #202
Comments
Hi @ethering have you been able to overcome this issue? I'm observing the same behavior, and this issue is breaking some downstream analysis (liftover). A simple check with
Gives errors like the following:
|
Besides the issue with
A simple example of the issue showing a diff between Reference and produced fasta, and the corresponding vcf:
(The lines in the fasta file are of length = 100) The deletion should have:
|
No. I modified my workflow so that it didn't require the VCF file. One alternative would be to create a script that increments the POS position by one. |
Hi,
I'm using SURVIVOR (v1.0.7) for the first time and trying out some test data.
I've generated a params file using
SURVIVOR simSV test_params.param
and then simulated the SVs onto a reference genome.
SURVIVOR simSV ref.fasta test_params.param 0.1 0 simulated
Upon viewing the generated
simulated.vcf
file, I see that the VCF file is using zero-based coordinates when VCF uses 1-based coordinates.Here are the first 16 characters of my reference sequence:
Here are the first 16 characters of my simulated sequence:
and here are the lines in the VCF file that relate to the variants (the VCF header states 'source=Sniffles').
As you can see, the first variant is at position zero and then the subsequent co-ordinates are also zero-based. The actual 'POS' values should be 1, 4, 10, and 16.
Based on my initial use of SURVIVOR, I have two other comments:
SURVIVOR simSV --help
gives the stdout ofParameter file generated
and produces a file called--help
The text was updated successfully, but these errors were encountered: