Commit f71699a1 authored by Chris Cheshire's avatar Chris Cheshire
Browse files

Added versioning to cut and sort

parent e58873cf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -24,5 +24,10 @@ process CUT {

    """
    cut $args $input $command > ${prefix}.cut.${ext}

    cat <<-END_VERSIONS > versions.yml
    "${task.process}":
        cut: \$(cut --version | head -n 1 | awk '{print \$4;}')
    END_VERSIONS
    """
}
+5 −0
Original line number Diff line number Diff line
@@ -26,5 +26,10 @@ process SORT {

    """
    sort -T '.' $args $input_files > ${prefix}.sort.${ext}

    cat <<-END_VERSIONS > versions.yml
    "${task.process}":
        sort: \$(sort --version | head -n 1 | awk '{print \$4;}')
    END_VERSIONS
    """
}