-
Notifications
You must be signed in to change notification settings - Fork 132
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
Command takes forever, hangs and doesn't finish when using fastq.gz extension in --untrimmed-ouput #137
Comments
Hi, thanks for the report. It seems the problem occurs when cutadapt is already finished with everything and then waits for the 'gzip' process that it spawns to finish. I am having a hard time reproducing this. Do you see the problem every time you run the above command? |
Yes this is the problem every time when I run the command. But note that when I do not use .gz in --untrimmed-output, it runs just fine. |
This avoids a hang when writing to two or more gzip-compressed output files in Python 2.6. This fixes issue #137. The relevant Python bug report is http://bugs.python.org/issue12786
The problem seems to be triggered only in Python 2.6 and it is described in http://bugs.python.org/issue12786 . I have committed a change that should fix it. Could you test it, please? |
Hi, I tested it again and it is still not finishing.
Although, now I am using --output and --untrimmed-output without the .gz extension and it is much faster. |
That is strange. I was able to reproduce the exact problem, committed a change, and did not have the problem anymore. I would be grateful if you could try it one last time, just to make sure you actually are using the most recent version from Git. I have also just changed the version number as well, so please pull the most recent version and make sure that you then see version 1.9.dev2 instead of 1.9.dev1. |
Hi Marcel, I used the new update and it works perfectly now. Thanks! |
Nice, great to hear! |
This avoids a hang when writing to two or more gzip-compressed output files in Python 2.6. This fixes issue #137. The relevant Python bug report is http://bugs.python.org/issue12786
Hi,
The following is my code:
This command shows the following:
As per my command line, my input file is .fastq.gz and I want all my outputs compressed to gz. But the command above takes forever and I have to kill it. After a while when I use top to see if the command is runnnig, it doesn't show anything which means cutadapt is not running anymore. Also no warnings or errors are thrown out until I kill the command. It just hangs in there.
When I kill it, these msgs pop up on the console:
I tried the same command, just changing the --untrimmed-output option from output_untrimmed.fastq.gz to output_untrimmed.fastq, and it runs well.
However, I want all my outputs in .fastq.gz formats. Is there a work around for it?
The text was updated successfully, but these errors were encountered: