-
Notifications
You must be signed in to change notification settings - Fork 51
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
"negative length vectors are not allowed" ? #41
Comments
The As for the replicates question, it looks like you're using the current release version (1.8.3), which per the docs on That said, the behavior should be that the length of the vector determines the number of groups, as of a refactor I made in Dec 2014 :/ I will check on why the release version is so outdated. In the meantime, you can install the github version using the install_github function from devtools: |
Thank you so much on both counts! I hadn't even thought about memory but our cluster is very weird in how it assigns it, so I might not be getting nearly as much as I thought, which would explain things, especially since the files that work are subsets of the ones that fail. And yes, I had looked at your example code here on github and it seemed that you specified two groups explicitly, so that also didn't occur to me. I was just wondering where my extra factor of 2 was coming from! Thanks again! Back to running all my other simulations now :) |
Hi guys,
I'm trying to simulate sequence under a bunch of different conditions. The vast majority of them work, but I've been hitting an uninformative error message with others:
Often times,
simulate_experiment
fails fairly quickly with this error message:I launch many jobs with the same script, for multiple values of extraVars[2], and only some are repeatedly and predictably failing; extraVars[3] is always either 50 or 100. I realise the problem is probably coming from my fasta input, but the files I use differ by thousands of lines and checking them manually is not really going to work, so any intuition you might have as to what is causing the error would really help me clean them up - thank you!!
(And, not to be captain obvious here, but here are the lengths for one of the failed runs:
there are no obvious negative lengths that I can find.)
Oh, also - for some reason this command yields 20 replicates instead of 10 per run of simulate_experiment. Any idea why? Not that I don't appreciate having twice as many samples as I need, I just couldn't find the answer in the manual.
The text was updated successfully, but these errors were encountered: