Nextomics / NextPolish2

Repeat-aware polishing genomes assembled using HiFi long reads
Other
63 stars 3 forks source link

:Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }', src/main.rs:1695:51 #22

Closed Hanjiangna closed 3 months ago

Hanjiangna commented 3 months ago

hello my code nextPolish2 -r hifi.map.sort.bam sam.fa k21.yak k31.yak >asm.np2.fa error thread '' panicked at 'called Result::unwrap() on an Err value: Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }', src/main.rs:1695:51 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Aborted (core dumped)

moold commented 3 months ago

It seems sam.fa is empty?

Hanjiangna commented 3 months ago

sorry, it is empty . I've just realized it's an empty file, whereas it wasn't before. Thank you very much for your prompt response.