summaryrefslogtreecommitdiff
blob: 7cc0e23de2d4b9c586367d4364bce299f3ff09f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/test/intersect/new_test-intersect.sh
+++ b/test/intersect/new_test-intersect.sh
@@ -975,8 +975,8 @@
 #  Test intersect preserve the text header in bam
 ############################################################
 echo -e "    intersect.new.t78...\c"
-echo -e "@HD     VN:1.5  SO:coordinate" > exp
-echo "@HD     VN:1.5  SO:coordinate" | samtools view -b  | $BT intersect -a /dev/stdin -b b.bed | samtools view -H >obs
+echo -e "@HD	VN:1.5	SO:coordinate" > exp
+echo "@HD	VN:1.5	SO:coordinate" | samtools view --no-PG -b | $BT intersect -a /dev/stdin -b b.bed | samtools view --no-PG -H >obs
 check exp obs
 rm exp obs
 [[ $FAILURES -eq 0 ]] || exit 1;