-
Notifications
You must be signed in to change notification settings - Fork 46
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
Error while writing clusters #148
Comments
I just encountered the same error, bam files were created exactly as in the GitHub provided avamb snakemake workflow. |
I found the issue. Vamb is not compatible with Python 3.11, since 3.11 changed the definition of |
jakobnissen
added a commit
that referenced
this issue
Apr 3, 2023
jakobnissen
added a commit
that referenced
this issue
Apr 3, 2023
sgalkina
pushed a commit
to sgalkina/vamb
that referenced
this issue
Jun 28, 2023
In Python 3.11, the definition for rng.choice(seq) got the following expression added: `if not seq`. This internally calls `bool(seq)`, which throws an error if `seq` has more than one element. Now, pick random elements using `rng.randrange`, indexing into the tensor. Closes RasmussenLab#148
sgalkina
pushed a commit
to sgalkina/vamb
that referenced
this issue
Jun 28, 2023
After the embarrassment of RasmussenLab#148, we should be more dilligent in testing and CI. To make this work, I've had to remove the hash-based testing in test/result.py, or rather, not name the file test_*.py in order to not add it to pytest.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When recently running VAMB (4.0.0) I received the following error and VAMB quit with the
vae_clusters.tsv
table empty.I've installed VAMB via pip install. I also checked that my concatenated contig set was renamed with an appropriate delimiting strategy (with 'C' as the delimiter just to keep things consistent with your usage guide). Mapping was done with bwa-mem and then sorted BAMs were provided to VAMB. My call to VAMB was:
vamb --outdir ${outdir} --fasta ${assembly} --bamfiles ${indir}/*.bam -o C
Wondering whether you have any immediate guidance based on the above. Thanks so much.
The text was updated successfully, but these errors were encountered: