File: collapse.rst

package info (click to toggle)
python-seqcluster 1.2.9%2Bds-5
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 113,636 kB
  • sloc: python: 5,308; makefile: 184; sh: 122; javascript: 55
file content (28 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.. _collapse:


***************
Collapse fastq(.gz) files
***************

**Definition**

Normally quality values are lost in  small RNA-seq pipelines due to collapsing after adapter recognition. This option allow to collapse reads after adapter removal with ``cutadapt`` or any other tool. This way the mapping can use quality values, allowing to map using ``bwa`` for instance, or any other alignment tool that doesn't support FASTA files.

**Methods**

The new quality values are the average of each of the sequence collapse.

**Example**

::

    seqcluster collapse -f sample_trimmed.fastq -o collapse 

* ``-f`` is the fastq(.gz) file
* ``-o`` the folder where the outout will be created. A new FASTQ file, where the name stand for::

    @seq_[0-9]_x[0-9]


The number right after ``_x`` means the abundance of this sequence in the sample