Skip to content
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

extract mitchonderial genome from NGS reads about 90 GB #216

Open
Mariamdar opened this issue Jul 3, 2024 · 7 comments
Open

extract mitchonderial genome from NGS reads about 90 GB #216

Mariamdar opened this issue Jul 3, 2024 · 7 comments

Comments

@Mariamdar
Copy link

I tried to run the MitoZ tool on 90GB of DNA data to extract the reads belonging to mitochondrial DNA and construct the genome. I ran it on the server, but I kept getting the same error that I couldn't detect. here the log file
mitoz.log

@linzhi2013
Copy link
Owner

This command failed:

megahit  --out-dir ./megahit_out  --num-cpu-threads 16 --k-list 59,79,99 --memory 1500000000000.0 -1 /home/ubuntu/Idmi_reference/clean_data/Idmi.clean_R1.fq.gz -2 /home/ubuntu/Idmi_reference/clean_data/Idmi.clean_R2.fq.gz

perhaps your server ran out of memory?

@Mariamdar
Copy link
Author

When i used 300 gb memery was the same , should i reduce the number of kmers?

@linzhi2013
Copy link
Owner

I do not remember if the "megahit" directory has the log from the megahit command, you may check it first; and you should also check the stderr file from mitoz (the 'mitoz.log' only has the stdout).

Otherwise, you can try this command directly and see what will happen (check the stderr and stdout):

megahit  --out-dir ./megahit_out  --num-cpu-threads 16 --k-list 59,79,99 --memory 1500000000000.0 -1 /home/ubuntu/Idmi_reference/clean_data/Idmi.clean_R1.fq.gz -2 /home/ubuntu/Idmi_reference/clean_data/Idmi.clean_R2.fq.gz

Do you know how much memory your server has? The program would fail if it only has 50 GB and you specified 300 GB.

@Mariamdar
Copy link
Author

yes i run the code and here the error
image

@linzhi2013
Copy link
Owner

yes i run the code and here the error image

thanks for the post.

The last line says that you are running out of disk space on your machine

image

You may have to delete some unneeded files or add a new disk.

@Mariamdar
Copy link
Author

Can i delete the parameter of -memory to let the tool working on the space that it is need it ? Or put -memory free?
because i working on server

@linzhi2013
Copy link
Owner

linzhi2013 commented Jul 7, 2024

computer memory and disk space are different things.

your current problem is there is not enough disk space on your server, which can not be solved by using the -memory parameter.

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

No branches or pull requests

2 participants