Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kylec committed Mar 27, 2015
1 parent 67a8dd8 commit 57988e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tgt-bam-index.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

# $1 = input bam
# $2 = target bed file
# $2 = output bam

intersectBed -abam $1 -b $2 > $3
samtools index $3 > $3.bai

0 comments on commit 57988e6

Please sign in to comment.