#!/bin/bash -Ceuo pipefail echo "sample_id,y_kmer_count,gender_estimate" > gender_estimation.csv cat HCC1395_BL_gender_estimation.txt HCC1395_tumor_gender_estimation.txt Sig_18_tissue_gender_estimation.txt Sig_18_Blood_gender_estimation.txt >> gender_estimation.csv cat <<-END_VERSIONS > versions.yml "DAQ:MERGE_GENDER": merge_gender: "1.0.0" END_VERSIONS