Skip to content

Commit 2884687

Browse files
authored
Merge pull request #16 from hisplan/master
bwa mem is called twice
2 parents a8c2ea9 + c85ae38 commit 2884687

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ cmo.egg-info/
66
**.swp
77
docs/build/
88
cmo/_version.py
9+
venv

bin/cmo_bwa_mem

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ if __name__ =='__main__':
1616
parser.add_argument("--fastq2" )
1717
parser.add_argument("--output", required=True)
1818
parser.add_argument("--sam", action='store_true', help="Produce Sam instead of the default bam (Boolean)")
19-
parser.add_argument("--version", required=True, choices=cmo.util.programs['bwa'].keys())
20-
args_dict = parse_bwa_help(cmo.util.programs['bwa']['default'] + " mem")
19+
parser.add_argument("--version", required=True, choices=cmo.util.programs['bwa'].keys())
2120
if "-h" in args_dict:
2221
args_dict['-hh']=args_dict['-h']
2322
del args_dict['-h']

cmo/data/cmo_resources.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
{
1212
"default":"/opt/common/CentOS_6/bwa/bwa-0.7.12/bwa",
1313
"0.7.12":"/opt/common/CentOS_6/bwa/bwa-0.7.12/bwa",
14-
"0.7.10":"/opt/common/CentOS_6/bwa/bwa-0.7.10/bwa"
14+
"0.7.10":"/opt/common/CentOS_6/bwa/bwa-0.7.10/bwa",
15+
"0.7.5a":"/opt/common/CentOS_6/bwa/bwa-0.7.5a/bwa"
1516
},
1617
"gatk":
1718
{
@@ -25,9 +26,15 @@
2526
"default":"/opt/common/CentOS_6-dev/samstat/1.5.1/samstat",
2627
"1.5.1":"/opt/common/CentOS_6-dev/samstat/1.5.1/samstat"
2728
},
29+
"trimgalore":
30+
{
31+
"default":"/opt/common/CentOS_6/trim_galore/Trim_Galore_v0.2.5/trim_galore",
32+
"0.2.5":"/opt/common/CentOS_6/trim_galore/Trim_Galore_v0.2.5/trim_galore"
33+
},
2834
"cutadapt":
2935
{
3036
"default":"/opt/common/CentOS_6-dev/python/python-2.7.10/bin/cutadapt",
37+
"1.1":"/opt/common/CentOS_6/cutadapt/cutadapt-1.1/bin/cutadapt",
3138
"1.9.1":"/opt/common/CentOS_6-dev/python/python-2.7.10/bin/cutadapt"
3239
},
3340
"convertqualityscore":
@@ -55,7 +62,8 @@
5562
{
5663
"default":"/opt/common/CentOS_6/picard/picard-tools-1.129/picard.jar",
5764
"1.124":"/opt/common/CentOS_6/picard/picard-tools-1.124/picard.jar",
58-
"1.129":"/opt/common/CentOS_6/picard/picard-tools-1.129/picard.jar"
65+
"1.129":"/opt/common/CentOS_6/picard/picard-tools-1.129/picard.jar",
66+
"1.96":"/opt/common/CentOS_6/picard/picard-tools-1.96/"
5967
},
6068
"java":
6169
{

0 commit comments

Comments
 (0)