Skip to content

Commit

Permalink
feat: use threads better, fire feats
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvollger committed Nov 24, 2023
1 parent fe23936 commit 6d00af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fire.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ pub fn add_fire_to_bam(fire_opts: &FireOptions) -> Result<(), anyhow::Error> {
if fire_opts.feats_to_text {
let mut first = true;
let mut out_buffer = bio_io::writer(&fire_opts.out)?;
for chunk in &FiberseqRecords::new(&mut bam, 0).chunks(500) {
for chunk in &FiberseqRecords::new(&mut bam, 0).chunks(5000) {
if first {
out_buffer.write_all(FireFeats::fire_feats_header(fire_opts).as_bytes())?;
first = false;
Expand Down

0 comments on commit 6d00af8

Please sign in to comment.