Skip to content

Commit

Permalink
switch to bamkit
Browse files Browse the repository at this point in the history
  • Loading branch information
cc2qe committed Feb 14, 2015
1 parent a28d313 commit 9a0b7f3
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 714 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ bin/lumpyToBedpe
bin/bamgroupreads.py
bin/bamfilterrg.py
bin/bamcleanheader.py
bin/bamlibs.py

# Compiled source #
###################
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
[submodule "src/bwa"]
path = src/bwa
url = https://github.com/lh3/bwa.git
[submodule "src/bamkit"]
path = src/bamkit
url = https://github.com/cc2qe/bamkit.git
19 changes: 11 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ TABIX_DIR=$(SRC)/tabix
VAWK_DIR=$(SRC)/vawk
SVTOOLS_DIR=$(SRC)/svtools
MBUFFER_DIR=$(SRC)/mbuffer
SCRIPTS_DIR=$(SRC)/scripts
BAMKIT_DIR=$(SRC)/bamkit

all: bwa sambamba samblaster freebayes lumpy svtyper tabix vawk svtools mbuffer scripts cnvnator-multi
all: bwa sambamba samblaster freebayes lumpy svtyper tabix vawk svtools mbuffer bamkit cnvnator-multi

bwa:
$(MAKE) -C $(BWA_DIR)
Expand Down Expand Up @@ -74,18 +74,20 @@ mbuffer:
$(MAKE) -C $(MBUFFER_DIR)
cp $(MBUFFER_DIR)/mbuffer $(TARGET_BIN)

scripts:
cp $(SCRIPTS_DIR)/bamtofastq.py $(TARGET_BIN)
cp $(SCRIPTS_DIR)/bamheadrg.py $(TARGET_BIN)
cp $(SCRIPTS_DIR)/bamgroupreads.py $(TARGET_BIN)
cp $(SCRIPTS_DIR)/bamfilterrg.py $(TARGET_BIN)
cp $(SCRIPTS_DIR)/bamcleanheader.py $(TARGET_BIN)
bamkit:
cp $(BAMKIT_DIR)/bamtofastq.py $(TARGET_BIN)
cp $(BAMKIT_DIR)/bamheadrg.py $(TARGET_BIN)
cp $(BAMKIT_DIR)/bamgroupreads.py $(TARGET_BIN)
cp $(BAMKIT_DIR)/bamfilterrg.py $(TARGET_BIN)
cp $(BAMKIT_DIR)/bamcleanheader.py $(TARGET_BIN)
cp $(BAMKIT_DIR)/bamlibs.py $(TARGET_BIN)

clean:
rm -f \
bin/bedpeToBed12 \
bin/bedpeToVcf \
bin/bgzip \
bin/sambamba \
bin/cnvnator \
bin/cnvnator2VCF.pl \
bin/cnvnator_wrapper.py \
Expand All @@ -107,6 +109,7 @@ clean:
bin/bamgroupreads.py \
bin/bamfilterrg.py \
bin/bamcleanheader.py \
bin/bamlibs.py \
bin/cnvnator-multi \
bin/annotate_rd.py
$(MAKE) -C $(BWA_DIR) clean
Expand Down
1 change: 1 addition & 0 deletions bin/speedseq.config
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ LUMPYTOBEDPE=$SPEEDSEQ_HOME/bin/lumpyToBedpe
SVTYPER=$SPEEDSEQ_HOME/bin/svtyper
BAMGROUPREADS=$SPEEDSEQ_HOME/bin/bamgroupreads.py
BAMFILTERRG=$SPEEDSEQ_HOME/bin/bamfilterrg.py
BAMLIBS=$SPEEDSEQ_HOME/bin/bamlibs.py

# CNVnator
CNVNATOR_WRAPPER=$SPEEDSEQ_HOME/bin/cnvnator_wrapper.py
Expand Down
1 change: 1 addition & 0 deletions src/bamkit
Submodule bamkit added at 5d2227
145 changes: 0 additions & 145 deletions src/scripts/bamcleanheader.py

This file was deleted.

125 changes: 0 additions & 125 deletions src/scripts/bamfilterrg.py

This file was deleted.

Loading

0 comments on commit 9a0b7f3

Please sign in to comment.