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

warning if dual-indexed technology is used (inDrops-v3, Sci-Seq, Smart-Seq)

parent 2d210208
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -496,6 +496,17 @@ if [[ "$technology" == "smartseq" ]] || [[ "$technology" == "smart-seq" ]] || [[
    technology="smartseq"
fi

if [[ "$technology" == "indrop-v3" ]] \
|| [[ "$technology" == "indrop"* ]] \
|| [[ "$technology" == "smart-seq"* ]]; then
    ## see the following issues from supporting inDrops-v3
    # https://github.com/alexdobin/STAR/issues/825
    # https://github.com/BUStools/bustools/issues/4
    ## these workarounds could be implemented in the future
    echo "***WARNING: dual indexes are not supported***"
    echo "...samples should be demultiplexed into separate FASTQ files by index before running"
fi


#check if technology matches expected inputs
if [[ "$technology" != "10x" ]] \