Closed mbhall88 closed 11 months ago
Agree with @mbhall8 – since gzip input isn't supported, it's important that piped input is fully supported
Apologies, and thanks for the report. I will fix that and am preparing a minor release in the next week or so.
This should be fixed now in 2.2.0. See changelog and readme, and please let me know of any issues.
-u <user_named_file>; Save identified spots to <user_named_file>.
NOTE: Required with -r if output is stdout, otherwise optional.
If piping the fastq file in through stdin (becase gzip isn't supported #4), and also specifying to keep removed spots (
-r
) I get the following errorWhich stems from
https://github.com/ncbi/sra-human-scrubber/blob/38163116140e29897e32137c1c53b091f8de694c/scripts/cut_spots_fastq.py#L55
which seems to assume there is an input fastq file passed on the command line.
So I guess naitve support for compressed files should be implemented (which I would vote for regardless), or the
-r
option can take an optional filepath to specify where you want the removed spots saved to.