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

dRep: Argument list too long #228

Open
jianhuang525 opened this issue Apr 9, 2024 · 3 comments
Open

dRep: Argument list too long #228

jianhuang525 opened this issue Apr 9, 2024 · 3 comments

Comments

@jianhuang525
Copy link

My MAGs have 71,000 bins. it too many~
when i run
dRep dereplicate drep/ -g test/*.fa -sa 0.95 -nc 0.30 -p 256 -pa 0.9 -cm larger
it error
dRep: Argument list too long

how can i cope with it >.<

@MrOlm
Copy link
Owner

MrOlm commented Apr 9, 2024

You can provide a text file listing the location of each genome to the -f argument; that way it will get around the argument limit of your system.

Best,
Matt

@jianhuang525
Copy link
Author

You can provide a text file listing the location of each genome to the -f argument; that way it will get around the argument limit of your system.

Best, Matt

when i make the genome list , it seed the same error.
ls refinem/*fa > bin_list.txt
-bash: /usr/bin/ls: Argument list too long
i will try to batch settlement to make genome list.

@MrOlm
Copy link
Owner

MrOlm commented Apr 10, 2024

You’ll just need to use “find” rather than “ls” to make the genome list.

Best,
Matt

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