This is a test version of Biostars. For the public version, visit https://www.biostars.org.
TrimGalore error : Cutadapt terminated with exit signal: '512'.

Hi, I'm getting this error while trying to remove adapters and contaminants using Trim_Galore. Please help.

> Now performing quality (cutoff 20) and adapter trimming in a single pass for the adapter sequence: 'AGATCGGAAGAGC' from file
> /home//samples/chronic pancreatitis/SRR5020215.fastq <<<
>
  sh: 1: Syntax error: "(" unexpected
> 
> 
> Cutadapt terminated with exit signal: '512'. Terminating Trim Galore
> run, please check error message(s) to get an idea what went wrong...
cutadapt trim_galore adapter_trimming
`/home//samples/chronic pancreatitis`

did you edit user name here? By any chance, are these files from SRA dump?

/home//samples/chronic pancreatitis

The error may be due to the space in the folder name. As a rule of thumb, avoid spaces altogether in file and folder names - while many programs deals with them just fine, some don't. If you do use spaces, escape the space (/home//samples/chronic\ pancreatitis) or use single quotes ('/home//samples/chronic pancreatitis').

0 answers

No answers yet.

Log in to answer this question.