BWA seems to ignore bz2 files

Issue #11 resolved
Eduardo Andres Leon created an issue

it does not accept bz2 files and we dont descpmpress them

Comments (2)

  1. Eduardo Andres Leon reporter

    Solved using a very smart solution (from google) :

    sub system_bash { my @args = ( "bash", "-c", shift ); system(@args); }

    $command="bwa mem ".$bwapardef." ".$bwaindex." <(bunzip2 -c $file) <(bunzip2 -c $mate_file)>".$real_name;

    system_bash($command)

  2. Log in to comment