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

Code crashes on Grch38 reference #10

Open
mmterpstra opened this issue Mar 4, 2020 · 0 comments
Open

Code crashes on Grch38 reference #10

mmterpstra opened this issue Mar 4, 2020 · 0 comments

Comments

@mmterpstra
Copy link
Collaborator

Code crashes on Grch38 reference available in the GATK bundle. this is due to the fact this contains 'chr' style chromosomes and 'HLA-' type contigs

Ideally the code below should just read the header to an hash and validate each line of input to that hash. and if not the line/linenumber and maybe the chromosomes matched against.

https://github.com/duartemolha/CoNVaDING_reload/blob/master/CoNVaDING.pl#L2845-L2914

Lazy fix:
https://github.com/duartemolha/CoNVaDING_reload/blob/master/CoNVaDING.pl#L2874 change to if ($chr =~ m/^chr.+|^HLA-.+/gs) { and test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant