Module needletail::parser
source · Expand description
Handles all the FASTA/FASTQ parsing
Structs
- Parser for FASTA files. Only use this directly if you know your file is FASTA and that it is not compressed as it does not handle decompression. If you are unsure, it’s better to use parse_fastx_file.
- Parser for FASTQ files. Only use this directly if you know your file is FASTQ and that it is not compressed as it does not handle decompression. If you are unsure, it’s better to use parse_fastx_file.
- A FASTA or FASTQ record
Enums
- FASTA or FASTQ?
- Whether it uses \r\n or only \n
Traits
- The main trait, iterator-like, that the FASTA and FASTQ readers implement
Functions
- Mask tabs in header lines to
|
s - Convert bad UTF8 characters into �s
- The main entry point of needletail if you’re reading from a file. Shortcut to calling
parse_fastx_reader
with a file - The main entry point of needletail if you’re reading from something that implements
std::io::Read
. This automatically detects whether the file is: - The main entry point of needletail if you’re reading from stdin. Shortcut to calling
parse_fastx_reader
withstdin()
- Write a FASTA record