Description
Split a supplied FASTA header into accession and description text.
Sequence formats distinguish coordinate origins, included endpoints, allele separators and identifier grammars. A genomic interbase position differs from a base number, and a parsed optional-field value may still violate its declared type. Local token checks preserve representation without validating a complete file, sequence, reference assembly or biological interpretation.
Split a supplied FASTA header into accession and description text.
When to use this tool
Use FASTA Header Accession Split when you already have header and need to split a supplied FASTA header into accession and description text.
How to use the tool and how it works
- Enter header. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read accession, description. Use the output convention below.
Require a leading >, a nonwhitespace accession and no CR/LF. Accept optional space/tab-delimited description and return an empty description if absent.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| header | Header | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| accession | Accession | Required. Text; maximum UTF-16 length 8192. |
| description | Description | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"header": ">SEQ17 sample description"
},
"output": {
"accession": "SEQ17",
"description": "sample description"
}
} Limitations and assumptions
- Whitespace is not a universal FASTA database grammar. Description text is retained rather than parsed; no accession resolution, sequence or complete file validation occurs.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use the complete applicable file specification and a full format validator for conformance. Verify reference assembly, sequence bounds, annotation and database context before interpreting local fields or coordinate transformations.
References
Similar or alternative tools
- FASTA Accession Version Suffix
Split a numeric version suffix from a supplied accession token.
- GTF Quoted Attribute Token
Format one supplied GTF-style quoted attribute.