Commit bf4a7eff authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

configure default inputs if barcode longer than 16 bp

parent 6d051a09
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -767,10 +767,6 @@ elif [[ "$technology" == "custom"* ]]; then
    minlength=${barcodelength}
fi

if [[ $minlength -gt 16 ]]; then
    minlength=16
fi

if [[ $verbose ]]; then
    echo " barcode and UMI lengths set as ${barcodelength} and ${umilength} respectively"
fi
@@ -820,10 +816,15 @@ fi


#set default barcode and umi lengths
if [[ $minlength -gt 16 ]]; then
 barcode_default=$minlength
 else
 barcode_default=16
umi_default=10
fi
if [[ "$chemistry" == "SC3Pv3" ]]; then
    umi_default=12
else
    umi_default=10
fi
totallength=`echo $((${barcode_default}+${umi_default}))`