-
Notifications
You must be signed in to change notification settings - Fork 9
Adapter_Trimming
The Adapter_Trimming handler trims adapters off samples. This script utilizes Scythe on paired-end or single-end data. To run Adapter_Trimming, all common and wrapper-specific variables must be defined within the configuration file. Once the variables have been defined, Adapter_Trimming can be submitted to a job scheduler with the following command:
sequence_handling Adapter_Trimming ConfigWhere Config is the full file path to the configuration file.
The following are a list of variables that need to be defined within Config. In addition to the handler-specific variables, all common variables must be defined.
| Variable | Function |
|---|---|
| AT_QSUB | QSub settings for batch submission. Recommended settings are "mem=1gb,nodes=1:ppn=8,walltime=10:00:00". |
| FORWARD_NAMING | Naming convention for forward reads. If your files are named sample1_R1.fastq and sample2_R1.fastq, FORWARD_NAMING=_R1.fastq |
| REVERSE_NAMING | Naming convention for reverse reads. If your files are named sample1_R2.fastq and sample2_R2.fastq, FORWARD_NAMING=_R2.fastq |
| ADAPTERS | A plain text or FastA file with the adapter sequences. |
| PRIOR | A prior value for Scythe. The recommended value is 0.05. |
Adapter_Trimming creates trimmed FastQ files for each sample. In addition, a list of all trimmed files will be output for use with other handlers. The full file path to this list will be
${OUT_DIR}/Adapter_Trimming/${PROJECT}_things.txtwhere ${OUT_DIR} and ${PROJECT} are specified in the configuration file.
After running Adapter_Trimming, there are three options for further processing.
- Quality_Assessment can be used for more complete quality assurance.
- Quality_Trimming can be used to trim low quality bases.
- Read_Mapping can be used to map reads to a reference genome.
Adapter_Trimming depends on Scythe to perform the trimming. This is not installed on MSI and must be installed separately. Furthermore, PBS and GNU Parallel are required for basic running.
Next: Quality_Trimming or Read_Mapping
- Getting Started
- Recommended Workflow
- Configuration
- Dependencies
- sample_list_generator.sh
- Slurm specific options
- Common Problems and Errors