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

Argument list too long #21

Closed
xuechunxu opened this issue Dec 22, 2021 · 3 comments
Closed

Argument list too long #21

xuechunxu opened this issue Dec 22, 2021 · 3 comments

Comments

@xuechunxu
Copy link

When I run python ~/software/Cenote-Taker2/Cenote-Taker2/run_cenote-taker2.py -c AsianEle01.fa -r AsianEle01_ct.out -m 32 -t 32 -p True -db virion --minimum_length_linear 3000 --lin_minimum_hallmark_genes 2
It called:
~/software/Cenote-Taker2/Cenote-Taker2/cenote-taker2.1.3.sh: line 228: /usr/bin/rm: Argument list too long

Is that ok?

@Aveglia
Copy link

Aveglia commented Jan 26, 2022

Hi, I ran into a similar problem, must be an issue when your input fasta has a lot of sequences(?).

To try to fix this error, I made an edit to the cenote-taker2.1.3.sh script at line 228, commented out the rm command and replaced using the find command below:

find . -maxdepth 1 -name "apc_aln*" -print0 | xargs -0 rm

When testing the command in the directory cenote was trying to remove the apc_aln* files, this command removed the apc_aln* files succesfullly. I am testing if this will fix the issue in my Cenote run now.

I will send an update when it finishes but I thought I should share in the case that you are in a hurry to get the run going again.

@mtisza1 I hope this helps/is correct, thank you for the awesome tool!!

-Alex Veglia

@mtisza1
Copy link
Owner

mtisza1 commented Jan 28, 2022

Thank you, Xuechunxu and Alex for bringing attention to this issue.

First, let me apologize for the delay in replying. I've been extremely busy lately, and I've had to decide to not reply to Cenote-Taker 2 issues temporarily. I will be "back" to quick responses and updates(!) at the end of February.

Alex, I believe your assessment and fix are spot on. These changes will be incorporated to the next update. Much appreciated!

Best,

Mike

@mtisza1 mtisza1 mentioned this issue Mar 11, 2022
@mtisza1
Copy link
Owner

mtisza1 commented May 9, 2022

Hi all,

I believe this issue should be fixed in the new release, v2.1.5. You can update Cenote-Taker 2 via the instructions on the main repo page.

Best,

Mike

@mtisza1 mtisza1 closed this as completed Sep 8, 2022
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

3 participants