Skip to content
Snippets Groups Projects
Commit 0c0407f9 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Change fetched fastq's mv to cv... mv was truncating some files

parent 5e322c79
Branches
Tags
2 merge requests!37v0.0.1,!33Resolve "process_qc"
Pipeline #6832 passed with stages
in 1 hour, 11 minutes, and 45 seconds
......@@ -2,13 +2,13 @@
if [ -z "${3}" ]
then
bdbag --resolve-fetch all --fetch-filter filename\$*fastq.gz ${1}
bdbag --resolve-fetch all --fetch-filter filename\$*fastq.gz ${1}
for i in $(find */ -name "*.R*.fastq.gz")
do
path=${2}$(echo ${i##*/} | grep -o "\.R.\.fastq\.gz")
mv ${i} ./${path}
cp ${i} ./${path}
done
elif [ "${3}" == "TEST" ]
then
bdbag --resolve-fetch all --fetch-filter filename\$*.txt ${1}
fi
\ No newline at end of file
fi
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment