Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aseyboldt/fastq-rs
/ functions
Functions
63 in github.com/aseyboldt/fastq-rs
⨍
Functions
63
◇
Types & classes
17
↓ 8 callers
Method
each
(self, mut func: F)
src/lib.rs:221
↓ 8 callers
Method
len
(&self)
src/lib.rs:329
↓ 7 callers
Method
write
(&self, writer: &mut W)
src/records.rs:93
↓ 6 callers
Method
iter
Return an iterator over all fastq records in this record set.
src/lib.rs:322
↓ 5 callers
Method
advance
(&mut self)
src/lib.rs:255
↓ 5 callers
Function
parse_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 callers
Method
seq
(&self)
src/records.rs:83
↓ 4 callers
Method
read_into
(&mut self, reader: &mut R)
src/buffer.rs:74
↓ 4 callers
Function
trim_winline
(line: &[u8])
src/records.rs:67
↓ 3 callers
Method
data
(&self)
src/buffer.rs:103
↓ 3 callers
Method
get
(&self)
src/lib.rs:248
↓ 3 callers
Method
len
(&self)
src/buffer.rs:18
↓ 3 callers
Method
n_free
(&self)
src/buffer.rs:22
↓ 3 callers
Method
parallel_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 callers
Method
ref_iter
Get a RecordRefIter for this parser. Should only be used in custom iteration scenarios.
src/lib.rs:208
↓ 2 callers
Method
clean
Move data to the start of the buffer, freeing space at the end.
src/buffer.rs:51
↓ 2 callers
Method
consume
(&mut self, count: usize)
src/buffer.rs:108
↓ 2 callers
Method
head
(&self)
src/records.rs:77
↓ 2 callers
Function
ks_getuntil
examples/c/kseq.h:136
↓ 2 callers
Method
qual
(&self)
src/records.rs:88
↓ 2 callers
Method
read
(&mut self, buffer: &mut [u8])
src/thread_reader.rs:91
↓ 2 callers
Method
record_sets
Return the fastq records in chunks.
src/lib.rs:430
↓ 2 callers
Method
replace_buffer
(&mut self, mut buffer: Box<[u8]>)
src/buffer.rs:30
↓ 2 callers
Method
to_owned_record
Copy the borrowed data array and return an owned record.
src/records.rs:167
↓ 2 callers
Method
to_ref_record
(&self, buffer: &'a [u8])
src/records.rs:179
↓ 1 callers
Function
buffer_channel
(bufsize: usize, queuelen: usize)
src/thread_reader.rs:13
↓ 1 callers
Function
each_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 callers
Method
finished
(&self)
src/thread_reader.rs:100
↓ 1 callers
Method
next_reader
(&mut self)
src/thread_reader.rs:59
↓ 1 callers
Method
pos
(&self)
src/buffer.rs:26
↓ 1 callers
Function
read_header
(buffer: &[u8])
src/records.rs:138
↓ 1 callers
Function
read_sep
(buffer: &[u8])
src/records.rs:152
↓ 1 callers
Method
serve
(&mut self, mut func: F)
src/thread_reader.rs:40
↓ 1 callers
Function
thread_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
Function
bufflen
()
src/lib.rs:753
Function
correct
()
src/lib.rs:617
Method
drop
(&mut self)
src/thread_reader.rs:81
Function
empty_id
()
src/lib.rs:655
Method
from_buffer
(buffer: &[u8])
src/records.rs:202
Method
from_records
(buffer: Box<[u8]>, records: Vec<IdxRecord>)
src/lib.rs:314
Function
huge_incomplete
()
src/lib.rs:741
Method
is_empty
(&self)
src/lib.rs:333
Function
length_mismatch
()
src/lib.rs:730
Function
main
()
examples/multiple-files.rs:6
Function
main
()
examples/alignment_count.rs:12
Function
main
()
examples/fastq-count-thread.rs:6
Function
main
()
examples/fastq-count.rs:6
Function
main
()
examples/bio-count.rs:8
Function
main
examples/c/readfq.cpp:8
Function
main
examples/c/parse.c:9
Function
missing_lines
()
src/lib.rs:669
Method
new
(size: usize)
src/buffer.rs:10
Method
new
Create a new fastq parser.
src/lib.rs:200
Method
new
(mut reader: R, buffsize: usize, queuelen: usize)
src/thread_reader.rs:126
Method
next
(&mut self)
src/lib.rs:347
Function
refset
()
src/lib.rs:777
Function
refset_huge_incomplete
()
src/lib.rs:801
Function
refset_incomplete
()
src/lib.rs:794
Function
second_idline
()
src/lib.rs:700
Function
truncated
()
src/lib.rs:689
Method
validate_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
Method
validate_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
Function
windows_lineend
()
src/lib.rs:717