#![warn(missing_docs)]
#[cfg(feature = "bgzf")]
mod bgzf;
mod error;
mod fasta;
mod fastq;
mod fastq_frame;
#[cfg(feature = "mmap")]
mod mmap;
pub mod pack;
mod source;
#[cfg(feature = "bgzf")]
pub use bgzf::{
BGZF_EOF_BLOCK, BgzfAutoReader, BgzfDecodedBlock, BgzfDecodedBlockReader, BgzfDeflateBackend,
BgzfIndex, BgzfIndexEntry, BgzfInflateBackend, BgzfParallelConfig, BgzfParallelReader,
BgzfPipelineMetrics, BgzfPipelineMetricsSnapshot, BgzfReader, BgzfSeekReader,
BgzfVirtualOffset, BgzfWriter, build_bgzf_index, build_bgzf_index_strict,
compress_bgzf_parallel, compress_bgzf_parallel_with_deflate_backend, decompress_bgzf_parallel,
decompress_bgzf_parallel_with_inflate_backend,
};
pub use error::{FastqError, FastqPosition, Result};
#[cfg(feature = "bgzf")]
pub use fasta::{BgzfFastaReferenceChunks, BgzfIndexedFastaReader, build_fasta_index_bgzf};
pub use fasta::{
FastaBatch, FastaConfig, FastaIndex, FastaIndexEntry, FastaPartition, FastaPartitionConfig,
FastaReader, FastaRecord, FastaRecordRef, FastaRecordSink, FastaReferenceChunk,
FastaReferenceChunkRef, FastaReferenceChunkSink, FastaReferenceChunks, FastaShape, FastaStats,
FastaVisitRecord, IndexedFastaReader, OwnedFastaBatch, OwnedFastaRecord, build_fasta_index,
count_fasta_bytes, count_fasta_read, count_two_line_fasta_bytes, count_two_line_fasta_read,
detect_fasta_shape, plan_fasta_partitions, visit_fasta_bytes, visit_fasta_bytes_auto,
visit_two_line_fasta_bytes, visit_two_line_fasta_read,
};
pub use fastq::{
FastqBatch, FastqChunkConfig, FastqChunkSinkExt, FastqChunkStats, FastqConfig, FastqPair,
FastqReader, FastqRecord, FastqRecordSink, FastqStats, FastqVisitRecord, InterleavedPairs,
PairValidation, PairedFastqBatch, PairedFastqPairs, PairedFastqReader, PairedRecords,
PairingMode, RecordRef, count_fastq_bytes, count_fastq_read, count_fastq_read_with_config,
paired_records, strip_pair_suffix, visit_fastq_bytes,
};
#[cfg(feature = "mmap")]
pub use mmap::{count_fasta_mmap, count_fastq_mmap, visit_fasta_mmap, visit_fastq_mmap};
pub use source::{
DetectedInputKind, detect_file_input_kind, open_fasta, open_fasta_for_reference,
open_fasta_with_config, open_fastq, open_fastq_with_config, open_paired_fastq,
open_paired_fastq_with_config, open_paired_fastq_with_configs,
};
#[cfg(all(feature = "gzip", feature = "libdeflate"))]
pub use source::{
LibdeflateGzipLimits, open_fasta_gzip_libdeflate, open_fasta_gzip_libdeflate_with_config,
open_fasta_gzip_libdeflate_with_limits, open_fastq_gzip_libdeflate,
open_fastq_gzip_libdeflate_with_config, open_fastq_gzip_libdeflate_with_limits,
};
#[cfg(feature = "bgzf")]
pub use source::{
open_fastq_bgzf_adaptive, open_fastq_bgzf_flate2, open_fastq_bgzf_parallel,
open_fastq_bgzf_parallel_with_backend, open_fastq_bgzf_parallel_with_config,
open_fastq_bgzf_parallel_with_options, open_fastq_bgzf_with_backend,
};