Giter Club home page Giter Club logo

Comments (7)

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 07, 2011 00:59:12

Because cutadapt requires that you specify at least one adapter, you cannot use the -q option independently. For now, you can just specify an adapter that doesn't occur anywhere, like "XXXXXXX". Until I've decided whether to remove the requirement that at least one adapter needs to be given, I'll leave this issue open.

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 07, 2011 00:59:34

Labels: -Type-Defect Type-Enhancement

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 07, 2011 02:59:38

May i ask a question?

How do i set up the -q cutoff value? Is it based on Phred score(0~40) ?

felix

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 07, 2011 06:39:11

Yes. On FASTQ files, cutadapt assumes that quality values are encoded as ASCII(qual+33). See also this section from the README:

"The '-q' (or --trim-qualities) parameter can be used to trim low-quality ends
from reads before adapter removal. For this to work correctly, the quality
values must be encoded as ascii(phred quality + 33). If they are encoded as
ascii(phred quality + 64), you currently have to add 31 to the cutoff. For
example, if you actually mean "-q 10", you have to write "-q 41".

The trimming algorithm is the same as the one used by BWA. That is: Subtract
the given cutoff from all qualities; compute partial sums from all indices to
the end of the sequence; cut sequence at the index at which the sum is minimal."

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 07, 2011 11:01:41

You explained it in detail. Thanks a lot.
cutadapt is a very useful, powerful and simple to use.

felix

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 08, 2011 01:15:01

I'm happy to help, thanks for using cutadapt.

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on May 12, 2012 14:09:58

This feature has now been implemented and will be in cutadapt version 1.1.

Status: Fixed

from cutadapt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.