Comments (5)
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.
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.
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.
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.
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)
- Error: BiocParallel errors HOT 5
- Remove the "Incomplete adapter sequence" warning
- Nanopore adapter detection HOT 1
- "OverflowError: FASTA/FASTQ record does not fit into buffer" when trimming ONT reads HOT 7
- Unexpected trimming behavior HOT 5
- cutadapt: error: cutadapt not able to trim the desired adapto HOT 3
- Error in FASTQ file at line 20136: Length of sequence and qualities differ HOT 2
- Adapter matches in the middle of a read masked with N HOT 2
- Feature request: shorten paired-end reads with separate values for --length HOT 1
- Help to get accurate counts of demultiplexed amplicons using cutadapt HOT 2
- Adapters in form of file and linked mode HOT 4
- Problems reading stdin on Windows 11 Python 3.12 HOT 5
- Heterogeneity Spacers and Primers HOT 2
- Using --revcomb on paired-end data HOT 1
- Issue importing fasta files to Cutadapt virtual environment HOT 1
- -m don't correctly work for pair-end analysis HOT 1
- Primer sequence trimming. Cutadapt does not cut all of them HOT 1
- Should I use -a or -g when demultiplexing ONT reads with dual barcodes? HOT 3
- Unable to trim primers from my interleaved fastq files HOT 4
- cutadapt not recognizing second input file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cutadapt.