#!/bin/bash
-echo 'buildMatrix.sh: version 1.1'
+echo 'buildMatrix.sh: version 1.2'
indexPrev=0
indexCur=0
truncateRPKM=""
if [ $# -eq 3 ]; then
- truncateRPKM="-truncate "$3
+ truncateRPKM="--truncate "$3
fi
if [ $# -eq 4 ]; then
- truncateRPKM="-rescale -truncate "$3
+ truncateRPKM="--rescale --truncate "$3
fi
if [ $# -lt 2 ]; then
- echo 'usage: buildMatrix.sh name datalist.file [truncateRPKM] [-rescale]'
+ echo 'usage: buildMatrix.sh name datalist.file [truncateRPKM] [--rescale]'
echo
echo 'where the datalist file is a comma-delimited list of prefix and rds-files'
echo