Skip to content

Commit f6929e2

Browse files
committed
Update tool versions and switch the https for EDAM
1 parent 6d2f2f9 commit f6929e2

16 files changed

+233
-222
lines changed

conda/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set name = "lukasa" %}
2-
{% set version = "0.0.5" %}
3-
{% set sha256 = "095de485faea6bdf0e19f30ca6e7cdc037309499b24b4266c9d7013e9ad021f6" %}
2+
{% set version = "0.0.6" %}
3+
{% set sha256 = "1e6f311114a0fffd53398a2c8e5f3f735213c07c2fb5f7e8f72b1cd4dd7e98d7" %}
44

55
package:
66
name: {{ name|lower }}

galaxy/lukasa.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<tool id="lukasa" name="Lukasa" version="@TOOL_VERSION@+galaxy0" python_template_version="3.5">
22
<description>Align protein evidence against genomic contigs using metaeuk and spaln</description>
33
<macros>
4-
<token name="@TOOL_VERSION@">0.0.6</token>
4+
<token name="@TOOL_VERSION@">0.0.8</token>
55
<!-- note that this DOI is for lukasa 0.0.6 - update as needed -->
6-
<token name="@DOI@">10.5281/zenodo.4084863</token>
6+
<token name="@DOI@">10.5281/zenodo.4084863</token>
77
</macros>
88
<requirements>
99
<requirement type="package" version="@TOOL_VERSION@">lukasa</requirement>
@@ -16,24 +16,24 @@
1616
--output_filename '$output_gff' '$contigs_fasta' '$proteins_fasta'
1717
]]></command>
1818
<inputs>
19-
<param name='contigs_fasta' type='data' format='fasta' label='Genomic contigs (FASTA)' />
20-
<param name='proteins_fasta' type='data' format='fasta' label='Proteins (FASTA)' />
21-
<param name='species_table' type='text' label='Spaln species table to use (optional)' />
19+
<param name="contigs_fasta" type="data" format="fasta" label="Genomic contigs (FASTA)"/>
20+
<param name="proteins_fasta" type="data" format="fasta" label="Proteins (FASTA)"/>
21+
<param name="species_table" type="text" label="Spaln species table to use (optional)"/>
2222
</inputs>
2323
<outputs>
24-
<data name="output_gff" format='gff3' label='Map proteins to genome ${on_string}' />
24+
<data name="output_gff" format="gff3" label="Map proteins to genome ${on_string}"/>
2525
</outputs>
2626
<tests>
2727
<test>
28-
<param name="contigs_fasta" ftype="fasta" value="contig.fasta" />
29-
<param name="proteins_fasta" ftype="fasta" value="proteins.fasta" />
30-
<param name="species_table" value="cynosemi" />
31-
<output name="output_gff" value="spaln_out.gff3" />
28+
<param name="contigs_fasta" ftype="fasta" value="contig.fasta"/>
29+
<param name="proteins_fasta" ftype="fasta" value="proteins.fasta"/>
30+
<param name="species_table" value="cynosemi"/>
31+
<output name="output_gff" value="spaln_out.gff3"/>
3232
</test>
3333
<test>
34-
<param name="contigs_fasta" ftype="fasta" value="contig.fasta" />
35-
<param name="proteins_fasta" ftype="fasta" value="proteins.fasta" />
36-
<output name="output_gff" value="spaln_out_no_st.gff3" />
34+
<param name="contigs_fasta" ftype="fasta" value="contig.fasta"/>
35+
<param name="proteins_fasta" ftype="fasta" value="proteins.fasta"/>
36+
<output name="output_gff" value="spaln_out_no_st.gff3"/>
3737
</test>
3838
</tests>
3939
<help><![CDATA[
@@ -50,4 +50,4 @@
5050
<citations>
5151
<citation type="doi">@DOI@</citation>
5252
</citations>
53-
</tool>
53+
</tool>

inputs/extract_regions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ region_file:
88
path: /home/pvh/Documents/code/Masters/protein_evidence_mapping/data/proteins1.txt
99

1010
$namespaces:
11-
edam: http://edamontology.org/
11+
edam: https://edamontology.org/
1212
iana: https://www.iana.org/assignments/media-types/
1313
$schemas:
14-
- http://edamontology.org/EDAM_1.18.owl
14+
- https://edamontology.org/EDAM_1.18.owl

inputs/metaeuk_inputs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ query:
99
output_name: test.fasta
1010

1111
$namespaces:
12-
edam: http://edamontology.org/
12+
edam: https://edamontology.org/
1313
$schemas:
14-
- http://edamontology.org/EDAM_1.18.owl
14+
- https://edamontology.org/EDAM_1.18.owl

inputs/metaeuk_to_regions_inputs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ metaeuk_fasta:
44
format: edam:format_1929
55

66
$namespaces:
7-
edam: http://edamontology.org/
7+
edam: https://edamontology.org/
88
$schemas:
9-
- http://edamontology.org/EDAM_1.18.owl
9+
- https://edamontology.org/EDAM_1.18.owl

inputs/queue_workflow_inputs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ proteins_fasta:
99
species_table: cynosemi
1010

1111
$namespaces:
12-
edam: http://edamontology.org/
12+
edam: https://edamontology.org/
1313
$schemas:
14-
- http://edamontology.org/EDAM_1.18.owl
14+
- https://edamontology.org/EDAM_1.18.owl

inputs/spaln_input.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ species: cynosemi
1010
output_format: 0
1111

1212
$namespaces:
13-
edam: http://edamontology.org/
13+
edam: https://edamontology.org/
1414
$schemas:
15-
- http://edamontology.org/EDAM_1.18.owl
15+
- https://edamontology.org/EDAM_1.18.owl

inputs/workflow1_inputs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ metaeuk_output:
1313
species_table: cynosemi
1414

1515
$namespaces:
16-
edam: http://edamontology.org/
16+
edam: https://edamontology.org/
1717
$schemas:
18-
- http://edamontology.org/EDAM_1.18.owl
18+
- https://edamontology.org/EDAM_1.18.owl

lukasa.py

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
{}
2121
2222
$namespaces:
23-
edam: http://edamontology.org/
23+
edam: https://edamontology.org/
2424
$schemas:
25-
- http://edamontology.org/EDAM_1.18.owl
25+
- https://edamontology.org/EDAM_1.18.owl
2626
"""
2727

2828

tools/extract_regions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
from __future__ import print_function, division
24
import sys
35

tools/metaeuk_easy_predict.cwl

Lines changed: 51 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
#!/usr/bin/env cwl-runner
22
cwlVersion: v1.0
33
class: CommandLineTool
4-
5-
hints:
6-
SoftwareRequirement:
7-
packages:
8-
metaeuk:
9-
version: [ "2.ddf2742" ]
10-
specs: [ "https://github.com/soedinglab/metaeuk" ]
11-
DockerRequirement:
12-
dockerPull: quay.io/biocontainers/metaeuk:2.ddf2742--h2d02072_0
4+
$namespaces:
5+
edam: http://edamontology.org/
136

147
requirements:
158
InlineJavascriptRequirement: {}
@@ -20,59 +13,57 @@ inputs:
2013
format: edam:format_1929
2114
inputBinding:
2215
position: 10
23-
query:
24-
type: File
25-
format: edam:format_1929
26-
inputBinding:
27-
position: 20
28-
output_name:
29-
type: string
30-
default: "metaeuk_output.fasta"
31-
inputBinding:
32-
position: 30
33-
temp_dir:
34-
type: string
35-
default: ""
36-
inputBinding:
37-
valueFrom: "$(self ? self : runtime.tmpdir)"
38-
position: 40
39-
threads:
40-
type: int?
16+
eval:
17+
type: float?
4118
inputBinding:
19+
prefix: --metaeuk-eval
4220
position: 1
43-
prefix: --threads
44-
min_length:
45-
type: int?
21+
max_intron:
22+
type: float?
4623
inputBinding:
24+
prefix: --max-intron
4725
position: 1
48-
prefix: --min-length
49-
segment_eval:
26+
min_coverage:
5027
type: float?
5128
inputBinding:
29+
prefix: --metaeuk-tcov
5230
position: 1
53-
prefix: -e
54-
eval:
31+
min_intron:
5532
type: float?
5633
inputBinding:
34+
prefix: --min-intron
5735
position: 1
58-
prefix: --metaeuk-eval
59-
min_coverage:
60-
type: float?
36+
min_length:
37+
type: int?
6138
inputBinding:
39+
prefix: --min-length
6240
position: 1
63-
prefix: --metaeuk-tcov
64-
max_intron:
41+
output_name:
42+
type: string
43+
default: metaeuk_output.fasta
44+
inputBinding:
45+
position: 30
46+
query:
47+
type: File
48+
format: edam:format_1929
49+
inputBinding:
50+
position: 20
51+
segment_eval:
6552
type: float?
6653
inputBinding:
54+
prefix: -e
6755
position: 1
68-
prefix: --max-intron
69-
min_intron:
70-
type: float?
56+
temp_dir:
57+
type: string
58+
default: ''
59+
inputBinding:
60+
position: 40
61+
valueFrom: '$(self ? self : runtime.tmpdir)'
62+
threads:
63+
type: int?
7164
inputBinding:
65+
prefix: --threads
7266
position: 1
73-
prefix: --min-intron
74-
75-
baseCommand: [ metaeuk, easy-predict ]
7667

7768
outputs:
7869
output_fasta:
@@ -81,7 +72,19 @@ outputs:
8172
outputBinding:
8273
glob: $(inputs.output_name)
8374

84-
$namespaces:
85-
edam: http://edamontology.org/
75+
baseCommand:
76+
- metaeuk
77+
- easy-predict
78+
79+
hints:
80+
DockerRequirement:
81+
dockerPull: quay.io/biocontainers/metaeuk:6.a5d39d9--pl5321hf1761c0_1
82+
SoftwareRequirement:
83+
packages:
84+
metaeuk:
85+
specs:
86+
- https://github.com/soedinglab/metaeuk
87+
version:
88+
- 6.a5d39d9--pl5321hf1761c0_1
8689
$schemas:
87-
- http://edamontology.org/EDAM_1.18.owl
90+
- http://edamontology.org/EDAM_1.18.owl

tools/metaeuk_to_regions.cwl

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,30 @@
11
#!/usr/bin/env cwl-runner
22
cwlVersion: v1.0
33
class: CommandLineTool
4+
$namespaces:
5+
edam: http://edamontology.org/
6+
iana: https://www.iana.org/assignments/media-types/
47

5-
# EDAM formats:
6-
# format_1929 - FASTA
7-
# format_1964 - plain text
8-
9-
hints:
10-
SoftwareRequirement:
11-
packages:
12-
- package: python
13-
DockerRequirement:
14-
dockerPull: python:3.8-slim-buster
15-
168
inputs:
17-
scripts:
18-
type: File
19-
default:
20-
class: File
21-
basename: "extract_regions.py"
22-
contents:
23-
$include: "extract_regions.py"
9+
fuzz_length:
10+
doc: number of bases to add to the start and end of the region to extract
11+
type: int?
2412
inputBinding:
25-
position: 1
13+
position: 3
2614
metaeuk_fasta:
2715
type: File
2816
format: edam:format_1929
2917
inputBinding:
3018
position: 2
31-
fuzz_length:
32-
type: int?
33-
doc: number of bases to add to the start and end of the region to extract
19+
scripts:
20+
type: File
21+
default:
22+
class: File
23+
basename: extract_regions.py
24+
contents:
25+
$include: extract_regions.py
3426
inputBinding:
35-
position: 3
36-
37-
baseCommand: [ python ]
27+
position: 1
3828

3929
outputs:
4030
contig_regions_files:
@@ -48,8 +38,14 @@ outputs:
4838
outputBinding:
4939
glob: proteins*.txt
5040

51-
$namespaces:
52-
edam: http://edamontology.org/
53-
iana: https://www.iana.org/assignments/media-types/
41+
baseCommand:
42+
- python
43+
44+
hints:
45+
DockerRequirement:
46+
dockerPull: python:3.10-slim-buster
47+
SoftwareRequirement:
48+
packages:
49+
- package: python
5450
$schemas:
55-
- http://edamontology.org/EDAM_1.18.owl
51+
- http://edamontology.org/EDAM_1.18.owl

0 commit comments

Comments
 (0)