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

Generalize destination filename for fastq qxtraction

parent c02d977a
2 merge requests!37v0.0.1,!33Resolve "process_qc"
...@@ -5,7 +5,7 @@ then ...@@ -5,7 +5,7 @@ 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") for i in $(find */ -name "*R*.fastq.gz")
do do
path=16-TA16$(echo ${i##*/} | grep -o "\.R.\.fastq\.gz") path=${2}$(echo ${i##*/} | grep -o "R[1,2]").fastq.gz
cp ${i} ./${path} cp ${i} ./${path}
done done
elif [ "${3}" == "TEST" ] 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