trimgalore

trimming
adapters

Description

A wrapper tool around Cutadapt and FastQC to consistently apply quality and adapter trimming to FastQ files.

Type

bash_script

License

GPL-3.0

Keywords

trimming
adapters

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
output_dir: "$id.$key.output_dir"  
trimmed_r1: "$id.$key.trimmed_r1.fastq"  
trimmed_r2: "$id.$key.trimmed_r2.fastq"  
trimming_report_r1: "$id.$key.trimming_report_r1.txt"  
trimming_report_r2: "$id.$key.trimming_report_r2.txt"  
trimmed_fastqc_html_1: "$id.$key.trimmed_fastqc_html_1.html"  
trimmed_fastqc_html_2: "$id.$key.trimmed_fastqc_html_2.html"  
trimmed_fastqc_zip_1: "$id.$key.trimmed_fastqc_zip_1.zip"  
trimmed_fastqc_zip_2: "$id.$key.trimmed_fastqc_zip_2.zip"  
unpaired_r1: "$id.$key.unpaired_r1.fastq"  
unpaired_r2: "$id.$key.unpaired_r2.fastq"  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/biobox.git \  
  -revision v0.4.0 \  
  -main-script target/nextflow/trimgalore/main.nf \  
  -params-file params.yaml  

Input

Name
Type & Properties
--input
file
required
multiple

Trimming options

Name
Type & Properties
--quality
-q
integer
--phred33
boolean_true
--phred64
boolean_true
--fastqc
boolean_true
--fastqc_args
string
--fastqc_contaminants
file
--fastqc_adapters
file
--fastqc_limits
file
--adapter
-a
string
--adapter2
-a2
string
--illumina
boolean_true
--stranded_illumina
boolean_true
--nextera
boolean_true
--small_rna
boolean_true
--consider_already_trimmed
integer
--max_length
integer
--stringency
integer
--error_rate
-e
double
--gzip
boolean_true
--dont_gzip
boolean_true
--length
integer
--max_n
integer
--trim_n
boolean_true
--no_report_file
boolean_true
--suppress_warn
boolean_true
--clip_R1
integer
--clip_R2
integer
--three_prime_clip_R1
integer
--three_prime_clip_R2
integer
--nextseq
integer
--basename
string

Specific trimming options without adapter/quality trimming

Name
Type & Properties
--hardtrim5
integer
--hardtrim3
integer
--clock
boolean_true
--polyA
boolean_true
--implicon
boolean_true

RRBS-specific options

Name
Type & Properties
--rrbs
boolean_true
--non_directional
boolean_true
--keep
boolean_true

Paired-end specific options

Name
Type & Properties
--paired
boolean_true
--retain_unpaired
boolean_true
--length_1
-r1
integer
--length_2
-r2
integer

Output

Name
Type & Properties
--output_dir
-o
file
required
output
--trimmed_r1
file
output
--trimmed_r2
file
output
--trimming_report_r1
file
output
--trimming_report_r2
file
output
--trimmed_fastqc_html_1
file
output
--trimmed_fastqc_html_2
file
output
--trimmed_fastqc_zip_1
file
output
--trimmed_fastqc_zip_2
file
output
--unpaired_r1
file
output
--unpaired_r2
file
output

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.