Closed Bgi-zsy closed 1 year ago
Hi @Bgi-zsy
8 splits is not enough for just 1GB of memory. Did you try to use more splits? You can try something really high, like --splits 40
(or more).
Alternatively, you can combine using --splits
with reducing the search sensitivity (e.g. -s 3.0
, down from the default value of 4.2), which reduces memory usage. I don't recommend it though, as it would cause a decrease in the rate of gene annotation and in classification accuracy.
EDIT: I just notice you have 1000G available, not 1G. I've never seen this problem before. Can you try to download the database again? Which version are you using? (you can find that in the genomad_db/version.txt
file)
Also, try to run without --splits
as you don't need to split the database with this much memory available.
Dear Developer, Thank for your help. After receiving your answer, I update my genomad-database from 1.1 to 1.3 and my code run successfully. My code is:
genomad end-to-end --cleanup -t 4 --splits 8 $MY_PATH/FASTA.fasta.gz $MY_PATH/Output $MY_PATH/genomad_db1.3/genomad_db
That's great to hear! Let me know if you face this issue again.
Dear Developer,
I am using genomad to annotate virus from metagenomic sequencing. I met a problem with mmseqs2.py prefilter. I have read the FAQ and used
--splits 8
, but it still showed memory was not enough.Environment:
Input file: FASTA.fa (5G size)
My annotate code is:
$MY_PATH means real work dir pathway.
Error shows as follow:
Looking forward to your reply and you can and you can contact me with e-mail zengshengyin@genomics.cn
Thank you!