Commit 69e09d05 authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

Only remove Cloupe file if not 10x

parent d6f0583d
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -1595,11 +1595,19 @@ echo "cellranger run complete"

#####process output#####
cloupefile=${SDIR}/${id}/outs/cloupe.cloupe
if [[ $technology != "10x" ]]; then
    echo "Removing file ${cloupefile}"
    if [[ -f $cloupefile ]]; then
        rm -rf $cloupefile
    fi
echo "Cloupe file cannot be computed"
    echo "***Notice: Cloupe file cannot be computed for $technology"
    echo "           Cloupe files generated by this pipeline are corrupt"
    echo "           and cannot be read by the 10x Genomics Loupe Browser."
    echo "           We do not provide support for Cloupe files as this"
    echo "           requires software from 10x Genomics subject to their"
    echo "           End User License Agreement."
    echo "           Cloupe files are disabled in compliance with this."
fi
##########