Giter Club home page Giter Club logo

Comments (5)

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on March 17, 2011 01:17:51

Good point! Since cutadapt can look at the file contents and autodetect the file type from that, I guess it also makes sense to ignore the extension entirely.

For now, open lib/cutadapt/seqio.py and change the line 75:
elif ext in ['.fastq']:
into
elif ext in ['.fastq', '.fq']:

I will leave this issue open until I have implemented a proper solution.

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on April 12, 2011 10:43:56

Allowing the user to specify the input format and overriding the extension and/or filecheck would be helpful when integrating this tool into workflows where the filenames may not be easily changed (e.g. Galaxy).

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on May 17, 2011 06:07:43

The input format can now be specified via the -f or --format command-line option. This will be part of cutadapt 0.9.5, to be released soon.

Status: Fixed

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 10, 2011 16:55:52

Being able to specify the format is great, but it would still be convenient to have .fq as a recognized fastq format extension, since it's fairly common. Same for .fa for fasta.

from cutadapt.

marcelm avatar marcelm commented on August 27, 2024

From [email protected] on June 14, 2011 00:32:09

Thanks for the reminder, I had intended to do this, but forgotten. I've just changed this: .fq is now autodetected as FASTQ.

The following extensions are already recognized as FASTA:
.fasta, .fa, .fna, .csfasta, .csfa

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.