INNER CODE UNIT · R

segment_name

igordot/genomics · scripts-bigpurple/cnvs-wgs-freec.sh:21

segment_name=${script_name/%.sh/}
echo -e "\n ========== SEGMENT: $segment_name ========== \n" >&2

# check for correct number of arguments
if [ $# -lt 4 ] ; then
	echo -e "\n $script_name ERROR: WRONG NUMBER OF ARGUMENTS SUPPLIED \n" >&2
	echo -e "\n USAGE: $script_name project_dir genome_build sample_name bam [control_bam] [window_size] \n" >&2
	exit 1
fi

# arguments
proj_dir=$(readlink -f "$1")
genome_build="$2"
sample_t="$3"
bam_t=$(readlink -f "$4")
bam_n="$5"
win_size="$6"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…