MCPcopy Create free account

hub / github.com/aseyboldt/fastq-rs / functions

Functions63 in github.com/aseyboldt/fastq-rs

↓ 8 callersMethodeach
(self, mut func: F)
src/lib.rs:221
↓ 8 callersMethodlen
(&self)
src/lib.rs:329
↓ 7 callersMethodwrite
(&self, writer: &mut W)
src/records.rs:93
↓ 6 callersMethoditer
Return an iterator over all fastq records in this record set.
src/lib.rs:322
↓ 5 callersMethodadvance
(&mut self)
src/lib.rs:255
↓ 5 callersFunctionparse_path
Create a parser and guess the compression. At the moment this supports gzip, lz4 and plain fastq files. If the path is None, read from stdin. # Exam
src/lib.rs:167
↓ 5 callersMethodseq
(&self)
src/records.rs:83
↓ 4 callersMethodread_into
(&mut self, reader: &mut R)
src/buffer.rs:74
↓ 4 callersFunctiontrim_winline
(line: &[u8])
src/records.rs:67
↓ 3 callersMethoddata
(&self)
src/buffer.rs:103
↓ 3 callersMethodget
(&self)
src/lib.rs:248
↓ 3 callersMethodlen
(&self)
src/buffer.rs:18
↓ 3 callersMethodn_free
(&self)
src/buffer.rs:22
↓ 3 callersMethodparallel_each
Apply a function to each record, but distribute the work on a number of threads. # Parameters - `n_threads`: The number of worker threads to start.
src/lib.rs:509
↓ 3 callersMethodref_iter
Get a RecordRefIter for this parser. Should only be used in custom iteration scenarios.
src/lib.rs:208
↓ 2 callersMethodclean
Move data to the start of the buffer, freeing space at the end.
src/buffer.rs:51
↓ 2 callersMethodconsume
(&mut self, count: usize)
src/buffer.rs:108
↓ 2 callersMethodhead
(&self)
src/records.rs:77
↓ 2 callersFunctionks_getuntil
examples/c/kseq.h:136
↓ 2 callersMethodqual
(&self)
src/records.rs:88
↓ 2 callersMethodread
(&mut self, buffer: &mut [u8])
src/thread_reader.rs:91
↓ 2 callersMethodrecord_sets
Return the fastq records in chunks.
src/lib.rs:430
↓ 2 callersMethodreplace_buffer
(&mut self, mut buffer: Box<[u8]>)
src/buffer.rs:30
↓ 2 callersMethodto_owned_record
Copy the borrowed data array and return an owned record.
src/records.rs:167
↓ 2 callersMethodto_ref_record
(&self, buffer: &'a [u8])
src/records.rs:179
↓ 1 callersFunctionbuffer_channel
(bufsize: usize, queuelen: usize)
src/thread_reader.rs:13
↓ 1 callersFunctioneach_zipped
Step through two fastq files and call a callback for pairs of Records. The callback returns a tuple of bools that indicate for each parser if it shou
src/lib.rs:577
↓ 1 callersMethodfinished
(&self)
src/thread_reader.rs:100
↓ 1 callersMethodnext_reader
(&mut self)
src/thread_reader.rs:59
↓ 1 callersMethodpos
(&self)
src/buffer.rs:26
↓ 1 callersFunctionread_header
(buffer: &[u8])
src/records.rs:138
↓ 1 callersFunctionread_sep
(buffer: &[u8])
src/records.rs:152
↓ 1 callersMethodserve
(&mut self, mut func: F)
src/thread_reader.rs:40
↓ 1 callersFunctionthread_reader
Wrap a reader in a background thread. This is only useful for readers that do expensive operations (eg decompression). The thread precomputes `queue
src/thread_reader.rs:182
Functionbufflen
()
src/lib.rs:753
Functioncorrect
()
src/lib.rs:617
Methoddrop
(&mut self)
src/thread_reader.rs:81
Functionempty_id
()
src/lib.rs:655
Methodfrom_buffer
(buffer: &[u8])
src/records.rs:202
Methodfrom_records
(buffer: Box<[u8]>, records: Vec<IdxRecord>)
src/lib.rs:314
Functionhuge_incomplete
()
src/lib.rs:741
Methodis_empty
(&self)
src/lib.rs:333
Functionlength_mismatch
()
src/lib.rs:730
Functionmain
()
examples/multiple-files.rs:6
Functionmain
()
examples/alignment_count.rs:12
Functionmain
()
examples/fastq-count-thread.rs:6
Functionmain
()
examples/fastq-count.rs:6
Functionmain
()
examples/bio-count.rs:8
Functionmain
examples/c/readfq.cpp:8
Functionmain
examples/c/parse.c:9
Functionmissing_lines
()
src/lib.rs:669
Methodnew
(size: usize)
src/buffer.rs:10
Methodnew
Create a new fastq parser.
src/lib.rs:200
Methodnew
(mut reader: R, buffsize: usize, queuelen: usize)
src/thread_reader.rs:126
Methodnext
(&mut self)
src/lib.rs:347
Functionrefset
()
src/lib.rs:777
Functionrefset_huge_incomplete
()
src/lib.rs:801
Functionrefset_incomplete
()
src/lib.rs:794
Functionsecond_idline
()
src/lib.rs:700
Functiontruncated
()
src/lib.rs:689
Methodvalidate_dna
Return true if the sequence contains only A, C, T and G. FIXME This might be much faster with a [bool; 256] array or using some simd instructions (eg
src/records.rs:19
Methodvalidate_dnan
Return true if the sequence contains only A, C, T, G and N. FIXME This might be much faster with a [bool; 256] array or using some simd instructions
src/records.rs:29
Functionwindows_lineend
()
src/lib.rs:717