Merge tag 'upstream/0.7'
[pysam.git] / tests / Makefile
index 34828290149d9e484c5638230c3d241975dc5eb9..2b401e55d7e449c1e9b61129f7bc5894697d4707 100644 (file)
@@ -8,7 +8,10 @@ all: ex1.pileup.gz ex1.bam.bai \
        ex8.bam ex8.bam.bai \
        ex9_nofail.bam.bai \
        ex9_fail.bam.bai \
-        ex10.bam ex10.bam.bai
+        ex10.bam ex10.bam.bai \
+       example_unmapped_reads_no_sq.bam \
+       example_user_header.bam \
+       example_btag.bam
 
 ex2.sam.gz: ex1.bam ex1.bam.bai
                samtools view -h ex1.bam | gzip > ex2.sam.gz
@@ -28,6 +31,11 @@ ex1.bam:ex1.sam.gz ex1.fa.fai
 ex1.pileup.gz:ex1.bam ex1.fa
                samtools pileup -cf ex1.fa ex1.bam | gzip > ex1.pileup.gz
 
+example_unmapped_reads_no_sq.bam: example_unmapped_reads_no_sq.sam
+       touch tmp.list
+       samtools import tmp.list $< $@
+       rm -f tmp.list
+
 clean:
        rm -fr *.bam *.bai *.fai *.pileup* \
                *~ calDepth *.dSYM pysam_*.sam \