Commit 0abea822 authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

correct copying to cellranger converted directory

parent 9a0d25b3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -827,7 +827,7 @@ for fq in "${read1[@]}"; do
        if [[ $fq == *'.gz' ]]; then
            gunzip -c $fq > $to
        else
            cp $fq $to
            cp -T $fq $to
        fi
    elif [[ $convert == "keep" ]] && [[ ! -f $to ]]; then
        echo " handling $fq ..."
@@ -835,7 +835,7 @@ for fq in "${read1[@]}"; do
        if [[ $fq == *'.gz' ]]; then
            gunzip -c $fq > $to
        else
            cp $fq $to
            cp -T $fq $to
        fi
    fi
done
@@ -852,14 +852,14 @@ for fq in "${read2[@]}"; do
        if [[ $fq == *'.gz' ]]; then
            gunzip -c $fq > $to
        else
            cp $fq $to
            cp -T $fq $to
        fi
    elif [[ $convert == "keep" ]] && [[ ! -f $to ]]; then
        echo " handling $fq ..."
        if [[ $fq == *'.gz' ]]; then
            gunzip -c $fq > $to
        else
            cp $fq $to
            cp -T $fq $to
        fi
    fi
done