Skip to content

paftools.js prints errors to stdout rather than stderr #1305

@diekhans

Description

@diekhans

This makes it unfriendly to scripting and pipelines.

% paftools.js sam2paf >/dev/null
[Exit 1]

vs

% paftools.js sam2paf 2>/dev/null
Usage: paftools.js sam2paf [options] <in.sam>
Options:
  -p      convert primary or supplementary alignments only
  -P      convert primary alignments only
  -L      output the cs tag in the long form
[Exit 1]

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