mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-11-14 22:33:14 +00:00
Update documentation
This commit is contained in:
parent
f00547177f
commit
b440bc3c4d
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ In-place reading reuses a pre-allocated object for every record and less memory
|
||||||
reader = open(BAM.Reader, "data.bam")
|
reader = open(BAM.Reader, "data.bam")
|
||||||
record = BAM.Record()
|
record = BAM.Record()
|
||||||
while !eof(reader)
|
while !eof(reader)
|
||||||
|
empty!(record)
|
||||||
read!(reader, record)
|
read!(reader, record)
|
||||||
# do something
|
# do something
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue