adapter sequencesfastx_toolkit
zcat -f $input | fastx_clipper -l $minlength -a $clip_source.clip_sequence -d $keepdelta -o $output -v $KEEP_N $DISCARD_OPTIONS
use this for hairpin barcoding. keep at 0 unless you know what you're doing.
**What it does**
This tool clips adapters from the 3'-end of the sequences in a FASTA/FASTQ file.
--------
**Clipping Illustration:**
.. image:: ./static/fastx_icons/fastx_clipper_illustration.png
**Clipping Example:**
.. image:: ./static/fastx_icons/fastx_clipper_example.png
**In the above example:**
* Sequence no. 1 was discarded since it wasn't clipped (i.e. didn't contain the adapter sequence). (**Output** parameter).
* Sequence no. 5 was discarded --- it's length (after clipping) was shorter than 15 nt (**Minimum Sequence Length** parameter).