trim_seq works on Illumina type qualities.
read_fastq and read_454 convert to Illumina type qualities per default. Phred scores are automagically detected and converted. If you have Solexa scores there is a switch.
write_fastq output Illumina type qualities.
write_454 automagically convertes to decimal scores.
Cheers,
Martin
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
Thanks everyone!
@maasha, I'll have to check it out! Does trim_seq accept sanger format qualities or only Solexa?
Leave a comment:
-
Originally posted by ewilbanks View PostDo you know how to use Biopython to do the reverse? Fasta +qual = fastq?
Code:from Bio import SeqIO from Bio.SeqIO.QualityIO import PairedFastaQualIterator rec_iter = PairedFastaQualIterator(open("Quality/example.fasta"), open("Quality/example.qual")) SeqIO.write(rec_iter, "Quality/temp.fastq", "fastq")
Leave a comment:
-
Well, Biopieces can do that as well:
Code:read_454 -i test.fna -q test.qual | write_fastq -o test.fq -x
In fact, Biopieces can also trim sequences based on quality scores by using trim_seq:
Code:read_454 -i test.fna -q test.qual | trim_seq | write_fastq -o test.fq -x
MartinLast edited by maasha; 01-06-2011, 10:36 AM.
Leave a comment:
-
Do you know how to use Biopython to do the reverse? Fasta +qual = fastq?
Leave a comment:
-
thank you!! The Biopython script did the trick-- even for a python newbie!
Leave a comment:
-
In Biopython the simplest way to do it is like this:
Code:from Bio import SeqIO SeqIO.convert("example.fastq", "fastq", "example.fasta", "fasta") SeqIO.convert("example.fastq", "fastq", "example.qual", "qual")
See also http://dx.doi.org/10.1093/nar/gkp1137 - I'd have suggested using EMBOSS seqret which can do FASTQ to FASTA, but I don't think it supports the QUAL format.
Leave a comment:
-
This can be done with Biopieces (www.biopieces.org):
Code:read_fastq -i test.fq | write_454 -o test.fna -q test.fna.qual -x
Cheers,
Martin
Leave a comment:
-
Split fastq to fasta and qual file?
Hi all,
Does anyone have or know about good scripts to split a sanger format fastq file into the corresponding fasta and qual file?? I have a dataset that I'd like to quality trim with LUCY but I can't figure out how to get it split apart! I've tried using the app on the galaxy page -- but its producing weird errors that I don't understand. Any help much appreciated!!
-LizzyTags: None
Latest Articles
Collapse
-
by noor121Qadri offers efficient online services designed for students and staff of University Targu Mures Medical Campus Hamburg. We streamline your academic and administrative processes for a hassle-free experience.
VIsit us:
https://qadri-international.com/univ...s-hamburg-umch...-
Channel: Articles
Yesterday, 09:33 PM -
-
by seqadmin
Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.
Nobel Prize for MicroRNA Discovery
This week,...-
Channel: Articles
10-07-2024, 08:07 AM -
-
by seqadmin
Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...-
Channel: Articles
09-23-2024, 06:35 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 10-02-2024, 04:51 AM
|
0 responses
100 views
0 likes
|
Last Post
by seqadmin
10-02-2024, 04:51 AM
|
||
Started by seqadmin, 10-01-2024, 07:10 AM
|
0 responses
108 views
0 likes
|
Last Post
by seqadmin
10-01-2024, 07:10 AM
|
||
Started by seqadmin, 09-30-2024, 08:33 AM
|
1 response
111 views
0 likes
|
Last Post
by EmiTom
10-07-2024, 06:46 AM
|
||
Started by seqadmin, 09-26-2024, 12:57 PM
|
0 responses
20 views
0 likes
|
Last Post
by seqadmin
09-26-2024, 12:57 PM
|
Leave a comment: