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

Improve error message for no bridge found #34

Open
jsgounot opened this issue Nov 25, 2020 · 7 comments
Open

Improve error message for no bridge found #34

jsgounot opened this issue Nov 25, 2020 · 7 comments
Assignees

Comments

@jsgounot
Copy link

Hi,

I run Gretel on different datasets. I've got this error message :

[FAIL] Unable to recover pairwise evidence concerning SNP #15 at position 1077
Gretel needs every SNP to appear on a read with at least one other SNP, at least once.
There is no read in your data set that bridges SNP #15 with any of its neighbours.

However, when I look at my datafile with IGV, I can see multiple reads which have 2 SNPs : screenshot

Am I missing something ?
Thanks !

@SamStudio8
Copy link
Owner

SamStudio8 commented Nov 25, 2020 via email

@jsgounot
Copy link
Author

jsgounot commented Nov 25, 2020

Do you mean the one produced by --dumpsnps ?

13	969	969
14	1032	1032
15	1077	1077
16	1206	1206
17	1230	1230

Edit : If you want, here is an example with bam and vcf files. Not exactly the same data set but it produces to the same error message. The command line : gretel Ecoli-Merged-K12.bam Ecoli-Merged-K12_variants_2.cgretel.vcf.gz NC_000913.3 -s 1 -e 10000 &> log.txt.

@SamStudio8
Copy link
Owner

SamStudio8 commented Nov 26, 2020 via email

@jsgounot
Copy link
Author

I just check with IGV, SNP 15 is linked to 14 but not to 16. However, 16 is linked to 17. So I guess that all consecutive pairs of SNPs must have at least one shared read?

@SamStudio8
Copy link
Owner

SamStudio8 commented Nov 27, 2020 via email

@jsgounot
Copy link
Author

Ok I've been a bit confused by the error message then. Thanks for the help.

@SamStudio8
Copy link
Owner

SamStudio8 commented Nov 27, 2020 via email

@SamStudio8 SamStudio8 changed the title No bridge found Improve error message for no bridge found Nov 30, 2020
@SamStudio8 SamStudio8 self-assigned this Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants