Le Tue, Sep 23, 2014 at 02:44:16PM +0200, Jakub Wilk a écrit :
> 
> "samtools stats" displays help, but only if stdin is a terminal. If
> it is not, it'll read data from it:
> 
>    if ( !bam_fname )
>    {
>        if ( isatty(STDIN_FILENO) )
>            error(NULL);
>        bam_fname = "-";
>    }

Brilliant, many thanks !

The issue was then quickly solved upstream.

    https://github.com/samtools/samtools/issues/300

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to