Skip to content

Commit

Permalink
Merge pull request #16 from hisplan/master
Browse files Browse the repository at this point in the history
bwa mem is called twice
  • Loading branch information
lordzappo authored Mar 22, 2017
2 parents a8c2ea9 + c85ae38 commit 2884687
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ cmo.egg-info/
**.swp
docs/build/
cmo/_version.py
venv
3 changes: 1 addition & 2 deletions bin/cmo_bwa_mem
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ if __name__ =='__main__':
parser.add_argument("--fastq2" )
parser.add_argument("--output", required=True)
parser.add_argument("--sam", action='store_true', help="Produce Sam instead of the default bam (Boolean)")
parser.add_argument("--version", required=True, choices=cmo.util.programs['bwa'].keys())
args_dict = parse_bwa_help(cmo.util.programs['bwa']['default'] + " mem")
parser.add_argument("--version", required=True, choices=cmo.util.programs['bwa'].keys())
if "-h" in args_dict:
args_dict['-hh']=args_dict['-h']
del args_dict['-h']
Expand Down
12 changes: 10 additions & 2 deletions cmo/data/cmo_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
{
"default":"/opt/common/CentOS_6/bwa/bwa-0.7.12/bwa",
"0.7.12":"/opt/common/CentOS_6/bwa/bwa-0.7.12/bwa",
"0.7.10":"/opt/common/CentOS_6/bwa/bwa-0.7.10/bwa"
"0.7.10":"/opt/common/CentOS_6/bwa/bwa-0.7.10/bwa",
"0.7.5a":"/opt/common/CentOS_6/bwa/bwa-0.7.5a/bwa"
},
"gatk":
{
Expand All @@ -25,9 +26,15 @@
"default":"/opt/common/CentOS_6-dev/samstat/1.5.1/samstat",
"1.5.1":"/opt/common/CentOS_6-dev/samstat/1.5.1/samstat"
},
"trimgalore":
{
"default":"/opt/common/CentOS_6/trim_galore/Trim_Galore_v0.2.5/trim_galore",
"0.2.5":"/opt/common/CentOS_6/trim_galore/Trim_Galore_v0.2.5/trim_galore"
},
"cutadapt":
{
"default":"/opt/common/CentOS_6-dev/python/python-2.7.10/bin/cutadapt",
"1.1":"/opt/common/CentOS_6/cutadapt/cutadapt-1.1/bin/cutadapt",
"1.9.1":"/opt/common/CentOS_6-dev/python/python-2.7.10/bin/cutadapt"
},
"convertqualityscore":
Expand Down Expand Up @@ -55,7 +62,8 @@
{
"default":"/opt/common/CentOS_6/picard/picard-tools-1.129/picard.jar",
"1.124":"/opt/common/CentOS_6/picard/picard-tools-1.124/picard.jar",
"1.129":"/opt/common/CentOS_6/picard/picard-tools-1.129/picard.jar"
"1.129":"/opt/common/CentOS_6/picard/picard-tools-1.129/picard.jar",
"1.96":"/opt/common/CentOS_6/picard/picard-tools-1.96/"
},
"java":
{
Expand Down

0 comments on commit 2884687

Please sign in to comment.