-
Notifications
You must be signed in to change notification settings - Fork 4
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
problem with alleleCounts #33
Comments
Hi, I am encountering the same error that @jdaron was getting above, and made the same change to my VCF file, but unfortunately this didn't work for me. I also get the error "Error in rowSums(x) : 'x' must be an array of at least two dimensions" when running 'getFws'. Not sure what is going on... Here is a snapshot of my VCF, and below I have copied and pasted a bit more. Apologies for the text dump. Its a bit odd that github won't allow a VCF file format to be attached... Please let me know if you need anything else, and any help would much appreciated. ##fileformat=VCFv4.2 |
Hi,
I have been using the very useful package moimix lately, but I was running into the issue below using alleleCounts, which could be helpful to report.
Here was the error message I got from alleleCounts:
counts <- alleleCounts(isolates)
Error in dimnames(counts_matrix$alt) <-
*vtmp*
:It turns out the problem was coming from my vcf file where the ID column of each variant wasn't specified ".". After updating my vcf file and specifying the ID for each variant everything went smoothly.
May be this error could be clarified in the alleleCounts function to avoid users to run into a similar issue.
Thanks for developing this wonderful package,
Josquin
The text was updated successfully, but these errors were encountered: