fix file suffix test for QC script (incomplete)
test for paired end scheme
if [[ ${samples[0]} == *"_R1"* || ${samples[0]} == *"_R2"* ]]; then
first='_R1'
second='_R2'
elif [[ ${samples[0]} == *"_1"* ]]; then
first='_1'
second='_2'
else
error "paired end scheme has to contain tuples of either '*_R1*'/'*_R2*' or '*_1*'/'*_2*' mates"
exit 1
fi