refresh-bio / DSRC

DSRC - DNA Sequence Reads Compressor
http://sun.aei.polsl.pl/dsrc/
55 stars 19 forks source link

The standard input/output features of dsrc 2 do not work #1

Closed earonesty closed 10 years ago

earonesty commented 10 years ago

version: 2.00 RC @ 28.03.2014

1 dsrc -s still requires 2 files of input

  1. even if you use fifo's, you can compress FROM a file, but you cannot compress TO a fifo... so there's no trivial way to fix it. (i can fix the stdin/out syntax issues, if someone can fix the mkfifo/stream issue below)

FASTQ is "x":

THIS WORKS: mkfifo n m cat x > n & dsrc c n y dsrc d y z diff x z

THIS DOESNT WORK:

mkfifo n m cat x > n & cat m > w & dsrc c n m dsrc d w z diff x z

"terminate called after throwing an instance of 'dsrc::DsrcException' what(): Invalid archive or old unsupported version Aborted (core dumped)"

earonesty commented 10 years ago

OK, looking at the code, it's clear you can read/write stream only on the uncompressed data. This is fine. Just the help should be more clear.