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

Generalize find fastq after fetch

parent ebab7cd7
Branches
Tags
2 merge requests!37v0.0.1,!33Resolve "process_qc"
Pipeline #6841 failed with stages
in 8 minutes and 15 seconds
......@@ -3,9 +3,9 @@
if [ -z "${3}" ]
then
bdbag --resolve-fetch all --fetch-filter filename\$*fastq.gz ${1}
for i in $(find */ -name "*.R*.fastq.gz")
for i in $(find */ -name "*R*.fastq.gz")
do
path=${2}$(echo ${i##*/} | grep -o "\.R.\.fastq\.gz")
path=16-TA16$(echo ${i##*/} | grep -o "\.R.\.fastq\.gz")
cp ${i} ./${path}
done
elif [ "${3}" == "TEST" ]
......
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