Skip to content

[Request] Replace System.out.print* statements with System.err.print* for stream compatibility #29

@dnbaker

Description

@dnbaker

The output of ABRA is, unfortunately, not necessarily coordinate-sorted, such that I would prefer to replace any usage with one that piped to samtools #sort. In addition, it would be useful for performance reasons to be able to pipe the output.

By setting --out /dev/stdout, I've been able to have it write the bam to stdout. However, all of the logging statements currently go to stdout rather than stderr, making it impossible to stream. Emitting the parsed-in bed file coordinates also makes it so that filtering by keywords is no longer an option.

I would have fixed it myself, but I ended up messing up some of your tab vs spaces formatting, and I didn't want to assume that I could replace all of your spaces with tabs or vice versa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions