Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #75

Open
wants to merge 184 commits into
base: parallel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
1a39252
Update README.md
cc2qe Mar 13, 2015
64a0b3f
Update README.md
cc2qe Mar 13, 2015
f1d231c
fix verbose stuff
cc2qe Mar 13, 2015
bb2e06f
update make
cc2qe Mar 13, 2015
62e9d68
Merge branch 'install'
cc2qe Mar 13, 2015
d4552a2
Update README.md
cc2qe Mar 13, 2015
f1793d7
Update README.md
cc2qe Mar 13, 2015
f655f8a
Update README.md
cc2qe Mar 13, 2015
eafe77e
Update README.md
cc2qe Mar 13, 2015
a240244
Update README.md
cc2qe Mar 13, 2015
fe970bc
Update README.md
cc2qe Mar 13, 2015
0d872e8
Update README.md
cc2qe Mar 13, 2015
3e7cd5d
Update README.md
cc2qe Mar 13, 2015
9f8c1cf
Update README.md
cc2qe Mar 13, 2015
d280b4b
Update README.md
cc2qe Mar 13, 2015
cb53ef1
Update README.md
cc2qe Mar 13, 2015
a124434
Update README.md
cc2qe Mar 13, 2015
dc4bd41
get rid of new lines
cc2qe Mar 13, 2015
0592065
Merge branch 'master' of github.com:cc2qe/speedseq
cc2qe Mar 13, 2015
06e4167
add workflow image
cc2qe Mar 13, 2015
4e783f7
Update README.md
cc2qe Mar 13, 2015
6cbf510
image
cc2qe Mar 13, 2015
f5d030b
Merge branch 'master' of github.com:cc2qe/speedseq
cc2qe Mar 13, 2015
57ceb8a
Update README.md
cc2qe Mar 13, 2015
6304ed4
Update README.md
cc2qe Mar 13, 2015
5950b8b
automatically index reference with BWA if absent
Mar 13, 2015
e70bf1a
Update README.md
cc2qe Mar 13, 2015
bf862b5
init example install
cc2qe Mar 13, 2015
cd883fe
Update README.md
cc2qe Mar 13, 2015
cb097f3
Update README.md
cc2qe Mar 13, 2015
541870d
example install script
cc2qe Mar 14, 2015
958f581
Update README.md
cc2qe Mar 14, 2015
47df870
add python explicit
cc2qe Mar 14, 2015
e981802
bump lumpy
cc2qe Mar 14, 2015
064d68b
mktemp compatible with mac
cc2qe Mar 14, 2015
00980c3
fix issue #20 https://github.com/cc2qe/speedseq/issues/20
cc2qe Mar 14, 2015
861ea86
add example script
Mar 14, 2015
45abdf5
organized
Mar 14, 2015
9b409dd
in case speedseq not in path
cc2qe Mar 14, 2015
b7c86a6
Update README.md
cc2qe Mar 14, 2015
e209351
Update README.md
cc2qe Mar 14, 2015
6d70a5b
Update README.md
cc2qe Mar 14, 2015
321700b
rename
cc2qe Mar 14, 2015
daa0842
Merge branch 'master' of github.com:cc2qe/speedseq
cc2qe Mar 14, 2015
dd8d9a4
Update README.md
cc2qe Mar 14, 2015
a22ea54
remove svtools submodule
cc2qe Mar 14, 2015
099e695
bump svtyper
cc2qe Mar 14, 2015
44e5d68
make
cc2qe Mar 14, 2015
a178465
bump lumpy
cc2qe Mar 14, 2015
8dcdf2d
more informative checking for python modules
cc2qe Mar 14, 2015
056f266
bwa version 0.7.8, in accordance with speedseq paper
cc2qe Mar 14, 2015
cbfa6be
add screenshots for amazon ami documentation
cc2qe Mar 14, 2015
8ab1645
Update README.md
cc2qe Mar 14, 2015
b37dea0
Update README.md
cc2qe Mar 14, 2015
daa7da8
Update README.md
cc2qe Mar 15, 2015
1f39388
Update README.md
cc2qe Mar 15, 2015
b2709ee
Revert "Update README.md"
cc2qe Mar 15, 2015
45b76e7
Merge branch 'master' into hall
cc2qe Mar 15, 2015
29e4f29
update example speedseq.config
cc2qe Mar 15, 2015
3f1170d
add hall speedseq config
cc2qe Mar 15, 2015
ab53d9d
hall lab bwa v.0.7.10
cc2qe Mar 15, 2015
552b776
add version 0.0.3
cc2qe Mar 15, 2015
c261d3a
Merge branch 'master' into hall
cc2qe Mar 15, 2015
329cb23
better dependency checking
cc2qe Mar 15, 2015
6bcccc5
Update README.md
cc2qe Mar 15, 2015
3a7d0db
Update README.md
cc2qe Mar 15, 2015
93d62a5
Update README.md
cc2qe Mar 15, 2015
47f8a56
bump svtyper ms version
cc2qe Mar 16, 2015
58c6865
update iwth master
cc2qe Mar 19, 2015
a076a62
fix svtyper
cc2qe Mar 19, 2015
0588d75
Update README.md
cc2qe Mar 24, 2015
7db373d
Update README.md
cc2qe Mar 25, 2015
d9fca38
remove option to only output somatic variants
cc2qe Mar 27, 2015
3fc4617
Update README.md
cc2qe Mar 29, 2015
3bbdeaf
version info
cc2qe Apr 1, 2015
9241786
speedseq realign handles multiple BAM files
cc2qe Apr 2, 2015
b7d0c35
help menu
cc2qe Apr 2, 2015
229b87c
clean up
cc2qe Apr 2, 2015
b79050a
bump to speedseq vawk which uses gawk (confusing, right?)
cc2qe Apr 3, 2015
dc1cfa0
Merge branch 'multibam' of github.com:cc2qe/speedseq into multibam
cc2qe Apr 7, 2015
6645b10
update sambamba to v0.5.4. also, do not output sequence or qual for s…
Apr 29, 2015
51e0e67
Update README.md
cc2qe May 1, 2015
e46d459
bump svtyper
cc2qe May 14, 2015
a5ed025
bump submodules
cc2qe May 18, 2015
3244a4a
bump submodules
cc2qe May 18, 2015
94b8f89
annoate copy number of BND variants
cc2qe Jun 5, 2015
41a2a50
bump samblaster to 0.1.22
cc2qe Jun 26, 2015
82f5230
bump lumpy to handle supplementary flag and bamkit
cc2qe Jun 26, 2015
b42ba66
bump svtyper
cc2qe Jun 26, 2015
e250f97
more explicit about pysam versions
cc2qe Jul 3, 2015
27906e6
bump freebayes to version v0.9.21
cc2qe Aug 3, 2015
4d06869
bump versions for supplementary read support
cc2qe Aug 17, 2015
5fe5fa0
bump freebayes version
cc2qe Aug 17, 2015
54fb5f4
Merge branch 'gms'
cc2qe Aug 17, 2015
dd1df95
remove hall config from master
cc2qe Aug 17, 2015
790b669
merge developmental features to master
cc2qe Aug 17, 2015
8988cf7
Update README.md
cc2qe Aug 17, 2015
67a278a
Update README.md
cc2qe Aug 17, 2015
2fab141
Update README.md
cc2qe Aug 17, 2015
b922cf1
Update README.md
cc2qe Aug 17, 2015
3813e40
Update README.md
cc2qe Aug 17, 2015
9453bc8
Corrected CNVnator command echo for verbose output
s-boardman Aug 18, 2015
5e94c4d
Merge pull request #39 from s-boardman/master
cc2qe Aug 18, 2015
aa7e66a
hopefully fixed error with empty cigar string related to modification…
cc2qe Aug 24, 2015
83c6974
Update README.md
cc2qe Aug 27, 2015
720bc91
added license, #43
cc2qe Aug 27, 2015
00d31ab
add logo
cc2qe Sep 3, 2015
93962db
svg logo
cc2qe Sep 3, 2015
be66448
bumpy lumpy to address zero-length read, remove element issue
cc2qe Sep 8, 2015
0238d5c
Merge branch 'master' of github.com:cc2qe/speedseq
cc2qe Sep 8, 2015
c6ae1bc
Update README.md
cc2qe Oct 12, 2015
c1058b7
bump lumpy
cc2qe Oct 26, 2015
b3520fa
if reference index absent, speedseq automatically indexes reference w…
cc2qe Oct 27, 2015
e221fbb
allow user-specified window size #38
cc2qe Oct 27, 2015
c465d82
Merge branch 'cnvnator_windows'
cc2qe Oct 27, 2015
faa2e90
update prereqs for gawk
cc2qe Nov 13, 2015
a95704a
force bitwise sorting, #53
cc2qe Nov 13, 2015
0eab42e
address #63 with VEP assembly parameter -a for 'var', 'somatic', and …
cc2qe Nov 30, 2015
6719825
Merge branch 'master' of github.com:cc2qe/speedseq
cc2qe Nov 30, 2015
7fc8bca
add dino
cc2qe Nov 30, 2015
550f598
add pipefail
cc2qe Nov 30, 2015
e99d565
update sambamba, add realign test
cc2qe Jan 12, 2016
f2b23b5
verbose is now the default
cc2qe Jan 22, 2016
bd9aa63
pipefail caused 147 exit statuses, like in
cc2qe Jan 28, 2016
9185e8d
bump svtyper
cc2qe Mar 11, 2016
655f1a7
bump again
cc2qe Mar 11, 2016
4771cc8
bump again
cc2qe Mar 11, 2016
03898a0
Update README.md
cc2qe Mar 30, 2016
9f18cd9
bump svtyper
cc2qe Apr 5, 2016
24cf60f
Merge branch 'master' of github.com:cc2qe/speedseq
cc2qe Apr 5, 2016
b122aba
realign: auto-generate readgroup info (when input BAMs lack RGs), or …
cc2qe May 30, 2016
f3ca93d
fixed a couple bugs related to #35
cc2qe May 30, 2016
6fe658e
Update README.md
cc2qe Jun 15, 2016
2cb0fb8
fix bug in VEP annotation of non-autosomes #81
cc2qe Jun 20, 2016
d8b4e8c
fix 'no chromosomes found' error in cnvnator, for BAMs with extra hea…
cc2qe Jul 12, 2016
a2d62ba
more descriptive message on generating fasta index #83
cc2qe Jul 13, 2016
815abec
fix realign command for BAMs with readgroups (#82)
cc2qe Jul 13, 2016
a2ef587
don't include overwritten readgroups in header when using the '-R' op…
cc2qe Jul 13, 2016
494f8fc
fix bug in cnvnator header parsing
cc2qe Aug 10, 2016
3ab092d
Update README
ahwagner Nov 1, 2016
5afc7b1
Merge pull request #93 from ahwagner/patch-1
cc2qe Nov 1, 2016
87b19b6
Update Makefile
cc2qe Nov 2, 2016
9835a76
bump svtyper
cc2qe Nov 21, 2016
6f93db3
Merge branch 'master' of github.com:cc2qe/speedseq
cc2qe Nov 21, 2016
5f4fe08
bump svtyper to v0.1.0
cc2qe Nov 21, 2016
59a2b58
temporarily rollback svtyper to v0.0.4, to avoid a bug in dup and inv…
cc2qe Dec 6, 2016
92cbc32
bump svtyper to v0.1.1
cc2qe Dec 13, 2016
3a87538
FAQ to address #31 and #94
cc2qe Dec 14, 2016
75863fa
bump version tags
cc2qe Jan 9, 2017
7527c58
detect CRAM file by extension and add flags for sambamba
ernfrid Dec 16, 2016
25937f1
+ inspect the binary file header to detect CRAM/BAM
indraniel Jan 4, 2017
63b3c1d
cnvnator wrapper with modification so it doesn't hang on large bam he…
apregier May 4, 2016
65cc034
Simplify cnvnator_wrapper and use deployed version of new cnvnator
apregier May 24, 2016
6f8bde7
Exclude alts and decoys
apregier May 24, 2016
0ccb472
Need -t argument for compatibility even though it is not used
apregier Aug 10, 2016
122be14
Merge in Colbys fix from the main repo to allow arbitrary numbers of …
apregier Aug 10, 2016
da9c200
introduce changes made by idas
ernfrid Dec 7, 2016
ee71707
remove some dead code
ernfrid Dec 7, 2016
efcdee6
add timestamps, threading, and whitespace fixes
ernfrid Dec 16, 2016
fcbaac1
allow specification of samtools binary
ernfrid Dec 21, 2016
ecb338a
make regex exclusion somewhat configurable. Should work alright for h…
ernfrid Dec 21, 2016
1854e02
separate wrappers from cnvnator in makefile
ernfrid Mar 7, 2017
c6f7fe6
abstract hexdump into an environment variable
ernfrid Mar 7, 2017
905ccf9
add hexdump to autogenerated config
ernfrid Mar 7, 2017
cb1eb1c
remove lumpy submodule
ernfrid Mar 7, 2017
9c153eb
add cram compatible lumpy update
ernfrid Mar 7, 2017
03267b8
use samtools in config and for cnvnator_wrapper
ernfrid Mar 11, 2017
032bb7a
use latest svtyper
ernfrid Mar 11, 2017
6041302
Merge pull request #103 from ernfrid/v0.1.2_cram_support
cc2qe Mar 28, 2017
afa9d61
command line arg for ref FASTA (for CRAM reading)
cc2qe Mar 28, 2017
e4fcb26
Revert "command line arg for ref FASTA (for CRAM reading)"
cc2qe Mar 28, 2017
8190a77
bump to svtyper v0.1.3
cc2qe Apr 17, 2017
176e463
use official cnvnator
cc2qe Apr 17, 2017
8198ad9
add samtools for cnvnator
cc2qe Apr 17, 2017
798e92f
compilation for official cnvnator
cc2qe Apr 17, 2017
e002f78
remove samtools submodule
cc2qe Apr 17, 2017
3c34485
update cnvnator installation instructions
cc2qe Apr 17, 2017
6010b7c
cnvnator instructions
cc2qe Apr 17, 2017
0c3044c
update lumpy
cc2qe Apr 17, 2017
c411756
Merge branch 'v0.1.2_cram_support' of github.com:hall-lab/speedseq in…
cc2qe Apr 17, 2017
8814723
bump svtyper to 1.4
cc2qe Apr 19, 2017
30f8dc6
revert LUMPY to avoid htslib conflicts with speedseq make (#106)
cc2qe Apr 26, 2017
bb19df6
Add new exclude files
apregier Feb 8, 2018
4e60002
Merge pull request #125 from hall-lab/new_exclude
apregier Feb 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Binaries #
############
bin/bedpeToBed12
bin/bedpeToVcf
bin/bgzip
bin/cnvnator-multi
src/cnvnator/bin/cnvnator-multi
Expand All @@ -13,8 +11,6 @@ bin/lumpy
bin/lumpyexpress
bin/pairend_distro.py
bin/samblaster
bin/splitReadSamToBedpe
bin/splitterToBreakpoint
bin/svtyper
bin/tabix
bin/vawk
Expand Down Expand Up @@ -65,7 +61,6 @@ bin/mbuffer
bin/parallel
bin/bamheadrg.py
bin/bamtofastq.py
bin/lumpyToBedpe
bin/bamgroupreads.py
bin/bamfilterrg.py
bin/bamcleanheader.py
Expand Down
15 changes: 8 additions & 7 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
[submodule "src/svtyper"]
path = src/svtyper
url = https://github.com/cc2qe/svtyper.git
url = https://github.com/hall-lab/svtyper.git
[submodule "src/samblaster"]
path = src/samblaster
url = https://github.com/GregoryFaust/samblaster.git
[submodule "src/vawk"]
path = src/vawk
url = https://github.com/cc2qe/vawk.git
[submodule "src/lumpy-sv"]
path = src/lumpy-sv
url = https://github.com/cc2qe/lumpy-sv.git
[submodule "src/tabix"]
path = src/tabix
url = https://github.com/samtools/tabix.git
[submodule "src/freebayes"]
path = src/freebayes
url = https://github.com/ekg/freebayes.git
[submodule "src/svtools"]
path = src/svtools
url = https://github.com/hall-lab/sv-tools.git
[submodule "src/bwa"]
path = src/bwa
url = https://github.com/lh3/bwa.git
Expand All @@ -28,3 +22,10 @@
[submodule "src/parallel"]
path = src/parallel
url = http://git.savannah.gnu.org/r/parallel.git
[submodule "src/lumpy-sv"]
path = src/lumpy-sv
url = https://github.com/hall-lab/lumpy-sv.git
branch = 0.2.13_cram_support
[submodule "src/CNVnator"]
path = src/CNVnator
url = https://github.com/abyzovlab/CNVnator
12 changes: 6 additions & 6 deletions src/cnvnator/src/samtools/COPYING → LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License
The MIT License (MIT)

Copyright (c) 2008-2009 Genome Research Ltd.
Copyright (c) 2014 Ira Hall lab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
81 changes: 53 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,66 @@ SAMBLASTER_DIR=$(SRC)/samblaster
FREEBAYES_DIR=$(SRC)/freebayes
LUMPY_DIR=$(SRC)/lumpy-sv
SVTYPER_DIR=$(SRC)/svtyper
CNVNATOR_DIR=$(SRC)/cnvnator
CNVNATOR_DIR=$(SRC)/CNVnator
SAMTOOLS_VERSION=samtools-1.3.1
SAMTOOLS_DIR=$(SRC)/$(SAMTOOLS_VERSION)
TABIX_DIR=$(SRC)/tabix
VAWK_DIR=$(SRC)/vawk
SVTOOLS_DIR=$(SRC)/svtools
MBUFFER_DIR=$(SRC)/mbuffer
PARALLEL_DIR=$(SRC)/parallel
BAMKIT_DIR=$(SRC)/bamkit

all: bwa sambamba samblaster freebayes lumpy svtyper tabix vawk svtools mbuffer parallel bamkit cnvnator-multi
# all
all:
@echo "" > $(MKFILE_DIR)/install.log
@echo "Installing align module..." >> $(MKFILE_DIR)/install.log
$(MAKE) align
@echo "Done." >> $(MKFILE_DIR)/install.log

@echo "Installing var and somatic modules..." >> $(MKFILE_DIR)/install.log
$(MAKE) var
@echo "Done." >> $(MKFILE_DIR)/install.log

@echo "Installing sv module..." >> $(MKFILE_DIR)/install.log
$(MAKE) sv
@echo "Done." >> $(MKFILE_DIR)/install.log

@echo "Installing realign module..." >> $(MKFILE_DIR)/install.log
$(MAKE) realign
@echo "Done." >> $(MKFILE_DIR)/install.log

@echo "Installation successful" >> $(MKFILE_DIR)/install.log

# modules
align: bwa sambamba samblaster parallel config

var: freebayes tabix vawk parallel config

somatic: var

sv: lumpy sambamba samblaster vawk bamkit tabix svtyper cnvnator config

realign: bwa sambamba samblaster parallel mbuffer bamkit config

# autogenerate speedseq.config
config:
@echo "" > $(TARGET_BIN)/speedseq.config
@echo "SPEEDSEQ_HOME=$(MKFILE_DIR)" >> $(TARGET_BIN)/speedseq.config
@echo "" >> $(TARGET_BIN)/speedseq.config
@echo "# general" >> $(TARGET_BIN)/speedseq.config
@echo "SAMTOOLS=`which samtools`" >> $(TARGET_BIN)/speedseq.config
@echo "SAMBAMBA=$(MKFILE_DIR)/$(TARGET_BIN)/sambamba" >> $(TARGET_BIN)/speedseq.config
@echo "BGZIP=$(MKFILE_DIR)/$(TARGET_BIN)/bgzip" >> $(TARGET_BIN)/speedseq.config
@echo "TABIX=$(MKFILE_DIR)/$(TARGET_BIN)/tabix" >> $(TARGET_BIN)/speedseq.config
@echo "VAWK=$(MKFILE_DIR)/$(TARGET_BIN)/vawk" >> $(TARGET_BIN)/speedseq.config
@echo "PARALLEL=$(MKFILE_DIR)/$(TARGET_BIN)/parallel" >> $(TARGET_BIN)/speedseq.config
@echo "PYTHON=`which python2.7`" >> $(TARGET_BIN)/speedseq.config
@echo "HEXDUMP=`which hexdump`" >> $(TARGET_BIN)/speedseq.config

@echo "" >> $(TARGET_BIN)/speedseq.config
@echo "# align" >> $(TARGET_BIN)/speedseq.config
@echo "BWA=$(MKFILE_DIR)/$(TARGET_BIN)/bwa" >> $(TARGET_BIN)/speedseq.config
@echo "SAMBLASTER=$(MKFILE_DIR)/$(TARGET_BIN)/samblaster" >> $(TARGET_BIN)/speedseq.config
@echo "SAMBAMBA=$(MKFILE_DIR)/$(TARGET_BIN)/sambamba" >> $(TARGET_BIN)/speedseq.config

@echo "" >> $(TARGET_BIN)/speedseq.config
@echo "# var/somatic" >> $(TARGET_BIN)/speedseq.config
Expand All @@ -55,9 +89,9 @@ all: bwa sambamba samblaster freebayes lumpy svtyper tabix vawk svtools mbuffer
@echo "" >> $(TARGET_BIN)/speedseq.config
@echo "# CNVnator" >> $(TARGET_BIN)/speedseq.config
@echo "CNVNATOR_WRAPPER=$(MKFILE_DIR)/$(TARGET_BIN)/cnvnator_wrapper.py" >> $(TARGET_BIN)/speedseq.config
@echo "CNVNATOR_MULTI=$(MKFILE_DIR)/$(TARGET_BIN)/cnvnator-multi" >> $(TARGET_BIN)/speedseq.config
@echo "ANNOTATE_RD=$(MKFILE_DIR)/$(TARGET_BIN)/annotate_rd" >> $(TARGET_BIN)/speedseq.config
@echo "CNVNATOR_CHROMS_DIR=" >> $(TARGET_BIN)/speedseq.config
@echo "CNVNATOR=$(MKFILE_DIR)/$(TARGET_BIN)/cnvnator" >> $(TARGET_BIN)/speedseq.config
@echo "ANNOTATE_RD=$(MKFILE_DIR)/$(TARGET_BIN)/annotate_rd.py" >> $(TARGET_BIN)/speedseq.config
@echo "CNVNATOR_CHROMS_DIR=$(MKFILE_DIR)/$(ANNOTATIONS_DIR)/cnvnator_chroms" >> $(TARGET_BIN)/speedseq.config

@echo "" >> $(TARGET_BIN)/speedseq.config
@echo "# realign" >> $(TARGET_BIN)/speedseq.config
Expand All @@ -66,6 +100,7 @@ all: bwa sambamba samblaster freebayes lumpy svtyper tabix vawk svtools mbuffer
@echo "BAMHEADRG=$(MKFILE_DIR)/$(TARGET_BIN)/bamheadrg.py" >> $(TARGET_BIN)/speedseq.config
@echo "BAMCLEANHEADER=$(MKFILE_DIR)/$(TARGET_BIN)/bamcleanheader.py" >> $(TARGET_BIN)/speedseq.config

# applications
bwa:
$(MAKE) -C $(BWA_DIR)
cp $(BWA_DIR)/bwa $(TARGET_BIN)
Expand All @@ -86,20 +121,23 @@ lumpy:
cp $(LUMPY_DIR)/scripts/pairend_distro.py $(TARGET_BIN)
cp $(LUMPY_DIR)/bin/lumpy $(TARGET_BIN)
cp $(LUMPY_DIR)/bin/lumpyexpress $(TARGET_BIN)
cp $(LUMPY_DIR)/scripts/vcfToBedpe $(TARGET_BIN)

svtyper:
cp $(SVTYPER_DIR)/svtyper $(TARGET_BIN)

cnvnator-multi:
samtools:
cd $(SAMTOOLS_DIR) && ./configure
$(MAKE) -C $(SAMTOOLS_DIR)

cnvnator: samtools
ifeq ($(ROOTSYS),)
@echo -e "\nWARNING: CNVnator not compiled because the ROOT package is not installed."
@echo "Please see the README for instructions on manually installing ROOT."
else
ln -f -s ../$(SAMTOOLS_VERSION) -T $(CNVNATOR_DIR)/samtools
$(MAKE) -C $(CNVNATOR_DIR)
cp $(CNVNATOR_DIR)/bin/cnvnator-multi $(TARGET_BIN)
cp $(CNVNATOR_DIR)/bin/cnvnator_wrapper.py $(TARGET_BIN)
cp $(CNVNATOR_DIR)/bin/cnvnator2VCF.pl $(TARGET_BIN)
cp $(CNVNATOR_DIR)/bin/annotate_rd.py $(TARGET_BIN)
cp $(CNVNATOR_DIR)/cnvnator $(TARGET_BIN)
endif

tabix:
Expand All @@ -110,14 +148,6 @@ tabix:
vawk:
cp $(VAWK_DIR)/vawk $(TARGET_BIN)

svtools:
cp $(SVTOOLS_DIR)/bedpeToBed12 $(TARGET_BIN)
cp $(SVTOOLS_DIR)/bedpeToVcf $(TARGET_BIN)
cp $(SVTOOLS_DIR)/splitReadSamToBedpe $(TARGET_BIN)
cp $(SVTOOLS_DIR)/splitterToBreakpoint $(TARGET_BIN)
cp $(SVTOOLS_DIR)/vcfToBedpe $(TARGET_BIN)
cp $(SVTOOLS_DIR)/lumpyToBedpe $(TARGET_BIN)

mbuffer:
cd $(MBUFFER_DIR); ./configure --prefix=$(shell pwd)
$(MAKE) -C $(MBUFFER_DIR)
Expand All @@ -138,36 +168,31 @@ bamkit:

clean:
rm -f \
bin/bedpeToBed12 \
bin/bedpeToVcf \
bin/bgzip \
bin/sambamba \
bin/cnvnator \
bin/cnvnator2VCF.pl \
bin/cnvnator_wrapper.py \
bin/annotate_rd.py \
bin/freebayes \
bin/lumpy \
bin/lumpyexpress \
bin/pairend_distro.py \
bin/samblaster \
bin/splitReadSamToBedpe \
bin/splitterToBreakpoint \
bin/svtyper \
bin/tabix \
bin/vawk \
bin/vcfToBedpe \
bin/bwa \
bin/lumpyToBedpe \
bin/mbuffer \
bin/parallel \
bin/bamtofastq.py \
bin/bamheadrg.py \
bin/bamgroupreads.py \
bin/bamfilterrg.py \
bin/bamcleanheader.py \
bin/bamlibs.py \
bin/cnvnator-multi \
bin/annotate_rd.py
bin/bamlibs.py

$(MAKE) -C $(BWA_DIR) clean
$(MAKE) -C $(SAMBLASTER_DIR) clean
$(MAKE) -C $(FREEBAYES_DIR) clean
Expand Down
Loading