Commit 5d2fbb04 authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

Merge branch 'master' of https://github.com/minoda-lab/universc

parents ecc32293 20f3cf01
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -1069,14 +1069,12 @@ for key in ${keys[@]}; do
                list[$j]=$read
            ;;
        esac
        case $read in
            #check if contains sample before lane
            *_${readkey}_001.*)
            if [[ $read == *"_${readkey}_001."* ]]  || [[ $read == *"_${readkey}_001" ]]; then
                if [[ $verbose ]]; then
                    echo "  $read compatible with suffix"
                fi
            ;;
            *.*)
            else
                #rename file
                if [[ $verbose ]]; then
                    echo "***Warning: file $read does not have suffix in its name. Suffix 001 is given.***"
@@ -1123,8 +1121,7 @@ for key in ${keys[@]}; do
              fi

              list[$j]=$read
            ;;
        esac
        fi

        #allow detection of file extension (needed for --file input)
        if [[ -f ${read} ]] || [[ -h ${read} ]]; then