# Troubleshooting cutadapt failed jobs

**URL:** <https://help.galaxyproject.org/t/troubleshooting-cutadapt-failed-jobs/11123>\
**Category:** Uncategorized\
**Tags:** troubleshooting, collections\
**Created:** [November 9, 2023, 6:38pm UTC](https://help.galaxyproject.org/t/troubleshooting-cutadapt-failed-jobs/11123 "2023-11-09T18:38:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgilbert](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@mgilbert](https://help.galaxyproject.org/u/mgilbert)\
**Post date:** [November 9, 2023, 6:38pm UTC](https://help.galaxyproject.org/t/troubleshooting-cutadapt-failed-jobs/11123/1 "2023-11-09T18:38:47Z")

</div>

Hoping to revive this. Same problem here. Ran Trim Galore on approx 50fastq files. 44 of them worked fine (produced output files). 3 of the paired files did not.  
So  
Sample1 R1  
Sample1 R2

Sample2 R1  
Sample2 R2

etc…

did not work. The error for these say: Could not detect version of Python used by Cutadapt from the first line of Cutadapt (but found this: \>\>\>#

The files _look_ like they have the same data in header as the files that worked. Please help!

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [November 9, 2023, 8:32pm UTC](https://help.galaxyproject.org/t/troubleshooting-cutadapt-failed-jobs/11123/2 "2023-11-09T20:32:20Z")

</div>

Hi @mgilbert

If the input datasets are correct and intact, then you might just need to rerun the jobs. Some very small fraction can fail for odd reasons. The servers are running thousands of jobs every day.

If these were run inside a collection, you might be able to use the the rerun function and replace items in the original collection. It will show up on the tool form right above the submit button, just like this option. [Resume paused jobs - #2 by jennaj](https://help.galaxyproject.org/t/resume-paused-jobs/6921/2)

If you are not sure if the fastq format is OK or not, try running **FastQC** or **Fastq Info** on those datasets. Tutorials: [Search GTN Materials](https://training.galaxyproject.org/training-material/search2?query=quality) (query = quality)
