Skip to main content
[Preprint]. 2023 Dec 20:2023.11.29.569306. Originally published 2023 Dec 1. [Version 2] doi: 10.1101/2023.11.29.569306

Table 3.

FHR Command Line

Command Description
$ fhr-convert \
<input>.<fasta|json|yaml|html> \
<output>.<fasta|json|yaml|html>
Converts the input to the output file format which is automatically determined by the extension of the input file.
$ fhr-validate \
<input>.<fasta|json|yaml|html>
validates the FHR header of any type of input file. This will check for the presence and syntactic correctness of the header, but will not verify that the checksum and the file contents match.
$ fhr-fasta-combine \
<input>.<fasta|json|yaml|html> \
<input>.fasta
If the header data is stored in a separate file and the user wishes to combine or merge it with its corresponding FASTA file to create a FASTA file with an embedded FHR header
$ fhr-fasta-validate \
<input>.fhr.fasta
Validates header and checksum. In the event of a header/data mismatch, this tool will issue an error message.
$ fhr-fasta-strip \
<input>.fhr.fasta
<output>
Removes the FHR header from a FASTA file and writes the result to an output file.