Commit e74c273d authored by Chaos's avatar Chaos
Browse files

fix a bug in merging bam files

parent c69dc65b
Loading
Loading
Loading
Loading
+2 −2
Changes for hic_local.sh: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ do
		lib_stat_m=${lib_prefix}_hists.m
		lib_hic=${lib_prefix}.hic

		if [ ! -e $lib_sam ];then
		if [ ! -e $lib_bam ];then
			$samtools_cmd \
				merge \
					-c \
@@ -226,7 +226,7 @@ do
					${split_dir}/${lib}*.bam
		fi
	
		if [ ! -e $lib_dedup_sam ];then
		if [ ! -e $lib_dedup_txt ];then
			$samtools_cmd \
				view \
					-@ $thread_str \