Question: How to add 'placeholder' quality scores to FASTA files (for converting FASTA with no scores to SAM, BAM and VCF )
gravatar for
4.0 years ago by
United States
Irene@Sequencing.com230 wrote:

I'm working on converting several of the historical reference genome FASTA files into SAM, BAM and VCF files for a project. (Alignment will be using hg19.) The primary issue is that many of these FASTA files are missing scores (quality metrics). One solution appears to be to add 'placeholder' scores to these FASTA files so the conversions can be accomplished.

Is there an existing script that can accomplish this (add all necessary scores to a FASTA file so that it can be processed into SAM and beyond)? If not, which FASTA scores are required for these conversions to occur and how can those scores be added (or made unnecessary)? (If you have a better solution for FASTA2BAM and FASTA2VCF when scores are not included in the FASTA files). Thanks - Irene

ADD COMMENTlink modified 4.0 years ago by Brian Bushnell16k • written 4.0 years ago by Irene@Sequencing.com230
gravatar for Brian Bushnell
4.0 years ago by
Walnut Creek, USA
Brian Bushnell16k wrote:

Many alignment programs, such as BBMap, can align fasta files without giving them fake quality values.  But if you want to give them quality values, you can use the included reformat script: in=reads.fasta out=reads.fastq qfake=30

ADD COMMENTlink written 4.0 years ago by Brian Bushnell16k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1206 users visited in the last hour