Skip to content

Index out of bounds exception when the allele is "-".#4

Open
fanavarro wants to merge 1 commit intophilres:masterfrom
fanavarro:master
Open

Index out of bounds exception when the allele is "-".#4
fanavarro wants to merge 1 commit intophilres:masterfrom
fanavarro:master

Conversation

@fanavarro
Copy link

Bugfix: if allele is '-', the app throw an exception trying to access to an illegal position in a list when writing vcf output. I have included default values for sizes and copy numbers to 0 to prevent the program crash. Other option would be to skip the entries in which all the genotypes are "-".

… to an illegal position in a list when writing vcf output. I have included default values for sizes and copy numbers to 0 to prevent the program crash.
@fanavarro
Copy link
Author

Just to comment, I do not know the implication of including these default values of "0" but, at least, the VCF file can be created without exception.

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

Successfully merging this pull request may close these issues.

1 participant