Skip to content

Commit

Permalink
fix tar command
Browse files Browse the repository at this point in the history
  • Loading branch information
sahakiann committed May 14, 2024
1 parent 352c7af commit 797ba49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pipelines/skylab/snm3C/snm3C.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,10 @@ task Hisat_paired_end {
####################################
# tar up stats
dna_summary.txt | pigz > ~{plate_id}.hisat3n_paired_end_stats_files.tar.gz
echo "Tar up stats"
start=$(date +%s)
tar -cf - *.trimmed.stats.txt | pigz > ~{plate_id}.trimmed_stats_files.tar.gz
tar -cf - *.hisat3n_dna_summary.txt | pigz > ~{plate_id}.hisat3n_paired_end_stats_files.tar.gz
end=$(date +%s)
elapsed=$((end - start))
echo "Elapsed time to run tar stats $elapsed seconds"
Expand Down

0 comments on commit 797ba49

Please sign in to comment.