Skip to content
Novus Examples
fasta2.4 KB

FASTA Contigs — One Line Per Record (.fasta)

The same four contigs written one sequence per line rather than wrapped, which is how many pipelines emit FASTA and how many line-oriented parsers assume it always looks. Comparing against the wrapped twin proves a parser joins continuation lines instead of taking the first one.

Preview — first 9 linesfasta
>NXCTG01 length=600
GGCGCGCACGTGGGGGCCCCCAAAAAGCTCTAATGGACTGAATATTGGGGCGTTCTGATAACCGGAGTCGTGATTCTGACGTGACTGCACACATCGATGGGCGGTTTCCTCCATGAGTTGAACTATCTTAGATAAGAGTAGACGAGAGCAACCAGACTACTTGTTGTGGGCTGCGAGGACACCGGAAATCTTCGCTGATTTTGCCCTAATGGTTGCTTCAGTGTCTACGCTCGTCACGCTAGCGACAGATATAGCTTACCGCCGCGGCTATAAGCAAAGTGTGTCAACGAACGGCTTTCTAGCGCAATAATCTGAAGCAGGGGTATTACAACAAAGAGTACTCGCGGGGGACACTCGATCCAAGAGCATGGGCCCAATCCGTTGATTACTGAGCTTCATCGGATCCATTAACCGTCGGGTCTGCTATACTATCGCGTAGATCGAAGGTCTGTGCGTTGCCCTATGTGCAAACCGAATCTGACGGCAAGCCGAAAAGATATTATTGATTGATCTTACATTCGATCGGTTCGCAGACCCGAGTTCAATGCGTGGTCAAATGTCTACATCAGAAACCGGTGGCTACACGAGCTAAGAATTGGG
>NXCTG02 length=600
ACCCGCAGTTTGGAGTGCCTAGCGACTAATGTGACACTGTGGTATCGCTCCTTCTTAGGAGGCAGGGACTCCAGCGTCTCTTTGCGTGTGGCTATAGAATTGTATAATATCCCGTCGCGGAGAACAAGCTTTCATAGGCCGGTGTGGCATCGTTCTCCAACAGACGCAGTGTTGCTTCCATTCGGTTGCCGGAGAGCTAGTAGTACCACTGCGATTCTACTTCACTTCTTGCGTGTGCATCTGTAAGATCCGGTCGGGCCAGGTATGCAAGGTACCGTATACCCCGTGGCTCGCGACATCCCAACGTCCCATAGACGCCTTCGTCAAGACTCCCCGGTTCAATACAGTCTGAGAAATTTCGACGCTTCGCCCGTGCGCGGCTAGAGGAGCCTGGTCTAGTATACGTGCATCGCACGAACGGCGCGAGACGGCGGACACATACAACGTTTAGAACCATGCGAAACCTCCTCTAAAGAGGGCGTAAAAGCTGGGGAGATGGCACCGAAGAGTTACTGACCGTATGGGCCATGCAAATCTTCAGTAGACTGATTTTAACCAGGGAATCACGATGGACTCATACCATACGGCTTCATGTAAACC
>NXCTG03 length=600
AACGGGGGCGGCTTTAATGTCTGGTTTAAGCTACAGGAGGTGGGCATTCACACCGACGACAGACCTCATTGCCAGCCTCCCTGACGATTACATAGCCACGTTTAACTTGTTTGTTTGGTTGTTCATACTCCACCAGTTGCACAGACCGGAGCTACCCGTGCGACTCCGAGGCATGAAGCATAAATGCCTCAGGTGAAGTAGTCACCTTGAACGGCTAGTATGTCGATCGATAGACTTCGCGCGTGGGGCGATAGGACCCGCACTGGATTATTAGTTCGCACGCTGGGTTAAGTAATCCTCACAGTGATAAGGCGGGACCGCTTCCTGTTAGATTGGCAGACAGTGATTTGCAGAACCTCTGGAATCGAAGTAGAAGGAAGTGCCTGTTGTCGAGAAGAGGATGGTCCGAGGGGCTAGTGATAGGGACATACAGGTCGTCGGGCCACACATAAGTTATGTTCGTTACCCTTGGAAAGTAGAATCACGGCGTATATCACATTGTTATTACATAAAATAATGCCGGTGGAACGCGATCCTTAAGACAGGGGCAGCCAAAGCTGGGAGTAAAGCAATCACATTTAACGAAATGTCGTGGACGTA
>NXCTG04 length=600
TACAACATAGACGATGCATAGAATTGCACCAGAGCAGTCAAACTTGAAAGATTGACCGAGCCTCACGGGGGAATAACCTCCGGTCCACAGCGGGCCAGTAACGGTCATCGATTGATGGGTCTAGCACCACAACAACGGTGGTTAGTTCTTAGCAATTGCGATTTGAGAACGGAACTAGTTATTCAAATCTTTTCCCGTCCTATCGTAGCAGACCTTCTACAGACACTGTTGTACACAATGGGTTTGGATTCGTCCCACATCCGTTACGACTGGATGGCATCTGATGGTGATGAACCTACGACAAGGGATGCTAATGCCCTAGCATGACTGGTTAAACAACTTAGTAGATAATCGTTTCCGCTCTCTTTTTGCTAGGGGACAACAGGTTATTGAGAAGAGTCTGGGTTCATTTTCGATCCGCCGATCGATTGGTAGACTAGCCAACGGGACTACGCACGCCGTCCGGGTAATTAAGCTAATGCACATGCCAGTTGTTAAATCAAACACATAGCCGCCCGGAACGTAGCAGCTTACTTAAGGTCGATAGTCAGTGCGGTAACCTGTGACAACCTATTCTCGGCGGCGTTTGTGGAGGATCGT

Specifications

Records
4
Sequence Length
600
Line Width
unwrapped (600)
Identical Sequences To
the 60-column twin
Longest Line
600

Testing contract

Expected to pass
Scenario
Parse both this file and the 60-column twin and compare the sequences record by record.
Expected result
All four sequences are identical between the two files, and a parser that reads only the first sequence line returns 60 bases from the wrapped twin and 600 from this one.

What is a .fasta file?

FASTA is the plain-text format for biological sequences. Each record begins with a `>` header line carrying an identifier and free-form description, followed by the sequence itself wrapped over as many lines as needed using IUPAC single-letter codes for nucleotides or amino acids. It records no quality or alignment information, which is what keeps it universal.

How to use this file

Use an example .fasta file to test sequence parsers and pipeline entry points, checking multi-record splitting, tolerance of varying line widths and blank lines, correct handling of ambiguity codes, and that description text after the first whitespace is kept separate from the identifier.

How to use this file for testing

“FASTA Contigs — One Line Per Record (.fasta)” is a deterministic Novus Examples fixture for Scientific data, Editor testing, Conversion testing. Citation catalogs (BibTeX, RIS), chemistry structures (MDL Molfile, PDB), and gridded binary data (NetCDF, FITS) — for testing reference managers, molecule viewers, and scientific-data loaders.

Documented properties for this file: 4 records. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Scientific fixtures are small, valid, and fully synthetic — no real organism, patient, sample, or observation. Point your parser or loader at the file and check it reads the documented records, variables, or headers; binary formats ship a readable twin or metadata listing for comparison.

Generated by generation/scientific.py. Free for any use, no attribution required — license.