Open MartinPippel opened 4 months ago
It also seems that the following line:
def useGzip = !( assembly instanceof List ? assembly.every{ it.name.endsWith(".gz") } : assembly.name.endsWith(".gz") )
is not doing what its supposed to do. (Probably due to the negation symbol at the beginning?) In my case its copying the compressed file:
cat hifiasm-raw-default.asm.bp.p_ctg.fasta.gz > MYSPECIESNAME_hifiasm-purged-default_hap0.merged.fasta.gz
This part is correct. Concatenating gzip files results in a valid gzipped file.
Is your feature request related to a problem? Please describe. not really, but this step can potentially run faster without copying the compressed file. It also seems that the following line:
is not doing what its supposed to do. (Probably due to the negation symbol at the beginning?) In my case its copying the compressed file:
Describe the solution you'd like So I think Dengfeng's
split_fa
script can directly read compressed files from stdin see here and the PURGEDUPS_SPLITFA process could potentially be reduced to:One potential pitfall might be if the user specifies the
-
option with the external arguments.