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

Update tool paths to biotoolsID and introduce a tool annotation - tool.json file for each tool #71

Merged
merged 10 commits into from
Oct 9, 2024
24 changes: 0 additions & 24 deletions cwl-tools/Sage-proteomics/Sage-proteomics.json

This file was deleted.

28 changes: 28 additions & 0 deletions cwl-tools/Sage-proteomics/tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"outputs": [
{
"format_1915": ["http://edamontology.org/format_3247"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"biotoolsID": "Sage-proteomics",
"inputs": [
{
"format_1915": ["http://edamontology.org/format_3244"],
"data_0006": ["http://edamontology.org/data_0943"]
},
{
"format_1915": ["http://edamontology.org/format_1929"],
"data_0006": ["http://edamontology.org/data_2976"]
}
],
"taxonomyOperations": [
"http://edamontology.org/operation_3631",
"http://edamontology.org/operation_3633",
"http://edamontology.org/operation_2428"
],
"label": "Sage",
"id": "Sage-proteomics"
}
]
10 changes: 0 additions & 10 deletions cwl-tools/XTandem/XTandem.sh

This file was deleted.

4 changes: 2 additions & 2 deletions cwl-tools/Comet/Comet.cwl → cwl-tools/comet/comet.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cwlVersion: v1.0
cwlVersion: v1.2
class: CommandLineTool
baseCommand: comet
label: comet-ms
Expand All @@ -21,7 +21,7 @@ inputs:
separate: false
default:
class: File
location: https://raw.githubusercontent.com/Workflomics/tools-and-domains/main/cwl-tools/Comet/comet.params
location: https://raw.githubusercontent.com/Workflomics/tools-and-domains/main/cwl-tools/comet/comet.params
Comet_in_1:
type: File
format: "http://edamontology.org/format_3244" # mzML
Expand Down
File renamed without changes.
38 changes: 38 additions & 0 deletions cwl-tools/comet/tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[{
"outputs": [
{
"format_1915": ["http://edamontology.org/format_3655"],
"data_0006": ["http://edamontology.org/data_0945"]
},
{
"format_1915": ["http://edamontology.org/format_3247"],
"data_0006": ["http://edamontology.org/data_0945"]
},
{
"format_1915": ["http://edamontology.org/format_3475"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"inputs": [
{
"format_1915": [
"http://edamontology.org/format_3244",
"http://edamontology.org/format_3654",
"http://edamontology.org/format_3651"
],
"data_0006": ["http://edamontology.org/data_0943"]
},
{
"format_1915": ["http://edamontology.org/format_1929"],
"data_0006": ["http://edamontology.org/data_2976"]
}
],
"taxonomyOperations": ["http://edamontology.org/operation_3646"],

"implementation": {
"cwl_reference": "https://raw.githubusercontent.com/Workflomics/tools-and-domains/refs/heads/main/cwl-tools/comet/comet.cwl"
},
"biotoolsID": "comet",
"label": "Comet",
"id": "Comet"
}]
36 changes: 36 additions & 0 deletions cwl-tools/goenrichment/tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"outputs": [
{
"format_1915": [
"http://edamontology.org/format_3603",
"http://edamontology.org/format_2330"
],
"data_0006": ["http://edamontology.org/data_3754"]
}
],
"inputs": [
{
"format_1915": ["http://edamontology.org/format_2330"],
"data_0006": ["http://edamontology.org/data_2872"]
},
{
"format_1915": [
"http://edamontology.org/format_2196",
"http://edamontology.org/format_2197"
],
"data_0006": ["http://edamontology.org/data_0582"]
},
{
"format_1915": ["http://edamontology.org/format_3475"],
"data_0006": ["http://edamontology.org/data_0916"]
}
],
"taxonomyOperations": ["http://edamontology.org/operation_2436"],

"implementation": {
"cwl_reference": "https://raw.githubusercontent.com/Workflomics/tools-and-domains/refs/heads/main/cwl-tools/goenrichment/goenrichment.cwl"
},
"biotoolsID": "goenrichment",
"label": "GOEnrichment",
"id": "GOEnrichment"
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cwlVersion: v1.0
class: CommandLineTool
baseCommand: ["bash"]
label: gprofiler
requirements:
ShellCommandRequirement: {}
InitialWorkDirRequirement:
Expand All @@ -15,7 +16,7 @@ inputs:
position: 1
default:
class: File
location: https://raw.githubusercontent.com/Workflomics/tools-and-domains/main/cwl-tools/gProfiler/gProfiler.sh
location: https://raw.githubusercontent.com/Workflomics/tools-and-domains/main/cwl-tools/gprofiler/gprofiler.sh
gProfiler_in_1:
type: File
doc: "Input file containing gene/query data"
Expand Down
31 changes: 31 additions & 0 deletions cwl-tools/gprofiler/tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"outputs": [
{
"format_1915": ["http://edamontology.org/format_3464"],
"data_0006": [
"http://edamontology.org/data_3753",
"http://edamontology.org/data_3754",
"http://edamontology.org/data_3953"
]
}
],
"inputs": [
{
"format_1915": ["http://edamontology.org/format_2330"],
"data_0006": ["http://edamontology.org/data_2872"]
}
],
"taxonomyOperations": [
"http://edamontology.org/operation_2422",
"http://edamontology.org/operation_3501",
"http://edamontology.org/operation_2497",
"http://edamontology.org/operation_3672"
],

"implementation": {
"cwl_reference": "https://raw.githubusercontent.com/Workflomics/tools-and-domains/refs/heads/main/cwl-tools/gprofiler/gprofiler.cwl"
},
"biotoolsID": "gprofiler",
"label": "gProfiler",
"id": "gProfiler"
}
2 changes: 1 addition & 1 deletion cwl-tools/idconvert/idconvert_to_mzIdentML.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cwlVersion: v1.0
class: CommandLineTool
label: idconvert.cwl
label: idconvert

baseCommand: "/usr/local/tpp/bin/idconvert"
requirements:
Expand Down
2 changes: 1 addition & 1 deletion cwl-tools/idconvert/idconvert_to_pepXML.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cwlVersion: v1.0
class: CommandLineTool
label: idconvert.cwl
label: idconvert

baseCommand: "/usr/local/tpp/bin/idconvert"
arguments:
Expand Down
53 changes: 53 additions & 0 deletions cwl-tools/idconvert/tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[{
"outputs": [
{
"format_1915": ["http://edamontology.org/format_3655"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"inputs": [
{
"format_1915": ["http://edamontology.org/format_3247"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"taxonomyOperations": [
"http://edamontology.org/operation_0335",
"http://edamontology.org/operation_1812",
"http://edamontology.org/operation_3434"
],

"implementation": {
"cwl_reference": "https://raw.githubusercontent.com/Workflomics/tools-and-domains/refs/heads/main/cwl-tools/idconvert/idconvert_to_pepXML.cwl"
},
"biotoolsID": "idconvert",
"label": "idconvert",
"id": "idconvert_to_pepXML"
},
{
"outputs": [
{
"format_1915": ["http://edamontology.org/format_3247"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"inputs": [
{
"format_1915": ["http://edamontology.org/format_3655"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"taxonomyOperations": [
"http://edamontology.org/operation_0335",
"http://edamontology.org/operation_1812",
"http://edamontology.org/operation_3434"
],

"implementation": {
"cwl_reference": "https://raw.githubusercontent.com/Workflomics/tools-and-domains/refs/heads/main/cwl-tools/idconvert/idconvert_to_mzIdentML.cwl"
},
"biotoolsID": "idconvert",
"label": "idconvert",
"id": "idconvert_to_mzIdentML"
}
]
File renamed without changes.
35 changes: 35 additions & 0 deletions cwl-tools/ms_amanda/tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"outputs": [
{
"format_1915": ["http://edamontology.org/format_3247"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"inputs": [
{
"format_1915": [
"http://edamontology.org/format_3244",
"http://edamontology.org/format_3651"
],
"data_0006": ["http://edamontology.org/data_0943"]
},
{
"format_1915": ["http://edamontology.org/format_1929"],
"data_0006": ["http://edamontology.org/data_2976"]
}
],
"taxonomyOperations": [
"http://edamontology.org/operation_2945",
"http://edamontology.org/operation_2945",
"http://edamontology.org/operation_3767",
"http://edamontology.org/operation_3645",
"http://edamontology.org/operation_3755"
],

"implementation": {
"cwl_reference": "https://raw.githubusercontent.com/Workflomics/tools-and-domains/refs/heads/main/cwl-tools/ms_amanda/ms_amanda.cwl"
},
"biotoolsID": "ms_amanda",
"label": "MS_Amanda",
"id": "MS_Amanda"
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ inputs:
type: File
default:
class: File
location: https://raw.githubusercontent.com/Workflomics/tools-and-domains/main/cwl-tools/MSFragger/fragger.params
location: https://raw.githubusercontent.com/Workflomics/tools-and-domains/main/cwl-tools/msfragger/fragger.params
MSFragger_in_1:
type: File
format: "http://edamontology.org/format_3244" # mzML
Expand Down
33 changes: 33 additions & 0 deletions cwl-tools/msfragger/tool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"outputs": [
{
"format_1915": ["http://edamontology.org/format_3655"],
"data_0006": ["http://edamontology.org/data_0945"]
}
],
"inputs": [
{
"format_1915": [
"http://edamontology.org/format_3244",
"http://edamontology.org/format_3654",
"http://edamontology.org/format_3651"
],
"data_0006": ["http://edamontology.org/data_0943"]
},
{
"format_1915": ["http://edamontology.org/format_1929"],
"data_0006": ["http://edamontology.org/data_2976"]
}
],
"taxonomyOperations": [
"http://edamontology.org/operation_2421",
"http://edamontology.org/operation_3801"
],

"implementation": {
"cwl_reference": "https://raw.githubusercontent.com/Workflomics/tools-and-domains/refs/heads/main/cwl-tools/msfragger/msfragger.cwl"
},
"biotoolsID": "msfragger",
"label": "MSFragger",
"id": "MSFragger"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cwlVersion: v1.0
class: CommandLineTool
label: mzRecal.cwl
label: mzrecal
requirements:
DockerRequirement:
dockerPull: workflomics/mzrecal:1.1.3
Expand Down
Loading