Skip to content

Commit

Permalink
Unpack BAM file
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrp committed Dec 31, 2017
1 parent a3a5930 commit d212efa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sambamba/bio2/unpack.d
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ import sambamba.bio2.bgzf;
int unpack_bams(string[] infns, File outfile) {

foreach (string fn; infns) {
stderr.writeln(fn);

foreach (ubyte[] read; BgzfBlocks(fn)) {
stdout.rawWrite(read);
outfile.rawWrite(read); // raw unpacking
}
}

Expand Down

0 comments on commit d212efa

Please sign in to comment.