FASTA & sequence quality
A FASTA record begins with >, followed by an identifier and optional description. Sequence lines follow until the next header. Use unique identifiers without spaces; place any description after the identifier. FASTA carries sequence, not per-base read-quality scores.
>reference synthetic DNA; frame +1 ATGGCTTTTGAATGGGGTAAACCTGTTGACTACTAA
1. Inspect the input
- Confirm whether the file contains DNA, RNA or protein from its source. Letters alone can be misleading: A, C, G and T are also amino-acid symbols.
- Preserve the original file and record its source, accession/version and download date.
- Check that every record has a header, a non-empty sequence and a unique identifier.
- Look for ambiguous symbols and unexpected punctuation. Do not silently delete questionable characters to make a tool accept the file.
- For a coding sequence, check strand, reading frame and genetic code before translating. Genomic DNA can contain introns; an open reading frame alone does not establish a gene.
2. Try the DNA checker
This checker accepts unaligned DNA FASTA using A, C, G, T and IUPAC ambiguity codes. It ignores whitespace and letter case, rejects gaps and RNA U, and reports ambiguity separately. It does not assess sequencing quality or predict genes. Limit: 200,000 input characters.
3. Calculate GC content explicitly
For this module: GC% = 100 × (G + C) / (A + C + G + T). Ambiguous symbols are excluded from this denominator. Report the ambiguity count alongside GC%, because a sequence with many unresolved bases can have a misleadingly precise GC estimate. If there are no unambiguous bases, GC% is undefined.
Download the DNA practice file and run all three records. Write down sequence lengths, ambiguity counts and GC%. Attempt the calculation before opening the answer.
Worked answer: sequence quality and translation
All three records are 36 nt. Reference: 14 G/C bases out of 36 = 38.89%. Substitution: 15/36 = 41.67%. Ambiguous: three N symbols, with 12 G/C bases among 33 resolved bases = 36.36%.
Using the standard genetic code and frame +1, the reference translates to MAFEWGKPVDY*; the substitution translates to MAFDWGKPVDY*. The asterisk represents the terminal stop. Codon 4 changes from GAA (glutamate, E) to GAC (aspartate, D): a nonsynonymous substitution. For the ambiguous example, codon 6 is NNN; its amino acid cannot be assigned uniquely.
These examples deliberately specify a frame and code. An unfamiliar real sequence requires independent checks of both. The short fragments are not intended as ORFfinder inputs with default minimum-length settings.
Common input problems
| Problem | What to do |
|---|---|
| A protein is rejected as DNA | Check the molecule type at the source and select the correct analysis program. |
| The sequence contains U | Confirm it is RNA. Convert U to T only when the selected workflow calls for a DNA representation; keep the original. |
| Internal stop codons after translation | Inspect frame, strand, genetic code, introns, ambiguity and possible errors before proposing a biological explanation. |
| Duplicate record names | Assign unique IDs and retain a mapping to the original accession and description. |
Reference: NCBI ORFfinder: translation and genetic-code settings.