Repository navigation
FASTA Files
A FASTA file holds sequences, one record for each node. Use it when you have the sequences themselves and want MicrobeTrace to compute the distances between them. MicrobeTrace can also align them first. See Distance Metrics and Alignment.
A record starts with a > line that holds the node's ID, and the sequence follows on the lines below it:
>ID_of_person_A
CCTCAGATCACTCTTTGGCAACGACCCCTCGTCACAATAAARATAGGRGGGCA
ACTAAAGGAAGCTCTACTAGATACAGGAGCAGATGATACAGTATTAGAAGAAC
>ID_of_person_B
CCTCAGATCACTCTTTGGCAACGACCCCTCGTCACAATAAARATAGGRGGGCA
ACTAAAGGAAGCTCTACTAGATACAGGAGCAGATGATACAGTATTAGAAGAAC
MicrobeTrace looks at the contents first, not the file extension. A file whose first non-blank character is > is read as FASTA, whatever it is called. A file with no > is not FASTA, even if its name ends in .fas or .fasta. If the contents say nothing, a name containing fas is guessed to be FASTA.
Any file can be any kind, so check the button on its row in the Files view. See Loading Files.
If a file named as FASTA holds no > record, MicrobeTrace says it "holds no sequences (a sequence starts with a '>' line)" and does not launch.
Add the file in the Files view, and make sure its row says FASTA. A FASTA file has no columns to choose.
- The ID is the text after the
>, with the spaces around it removed. - If two records have the same ID, they become one node. The first record's sequence is kept, and the log says how many were merged.
- The sample FASTA file in the demo data is aligned, with
-for gaps.
The Sequence Settings button in the Files view sets the alignment and has an Audit tab. See Alignment. The Distance Metric in the Files view sets how distances are computed. See Distance Metrics.
A node list with a sequence column also gives sequences. See Node Lists.