Commit 4d81f78f authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

update handling for 10x barcodes

parent ec46e057
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2460,13 +2460,18 @@ if [[ $lock -eq 0 ]]; then
        fi
        #for version 3
        cat ${v2} > ${v3}
    fi
        if [[ -f ${v3} ]]; then
             gzip -f ${v3}
        fi
        if [[ -f translation/${v3} ]]; then
            gzip -f  translation/${v3}
        fi
        if [[ -f translation/${v3}.gz ]]; then
            rm translation/${v3}.gz
            zcat ${v3}.gz | awk -F , -v OFS="\t" '{print $1, "\t", $1}' > translation/${v3}
            gzip -f translation/${v3}
        fi
        gzip -f ${v3}
    echo " whitelist converted"
    
    echo "verbose $verbose"