Skip to content

Instantly share code, notes, and snippets.

@samuell
Created December 19, 2013 10:29
Show Gist options
  • Select an option

  • Save samuell/8037242 to your computer and use it in GitHub Desktop.

Select an option

Save samuell/8037242 to your computer and use it in GitHub Desktop.
{
"tool": {
"accepts_input": true,
"backend": "nullbackend",
"cpus": "",
"description": "",
"display_name": "MzXML2Search",
"enabled": true,
"fs_backend": "nullbackend",
"inputExtensions": [
"*.mzXML",
"*.mzxml"
],
"job_type": "",
"max_memory": null,
"module": "tpp/4.3.1",
"name": "ccg.mzxml2search",
"outputExtensions": [
{
"file_extension__pattern": "*.mgf",
"must_be_larger_than": null,
"must_exist": true
}
],
"parameter_list": [
{
"acceptedExtensionList": [
"*.mzXML",
"*.mzxml"
],
"batch_bundle_files": false,
"default_value": "",
"file_assignment": "batch",
"helptext": "",
"hidden": false,
"id": 2712,
"mandatory": true,
"output_file": false,
"possible_values": "",
"rank": 99,
"switch": "inputFiles",
"switch_use__description": "Only the value will be passed in the argument list (ie. the switch won't be used)",
"switch_use__display_text": "valueOnly",
"switch_use__formatstring": "%(value)s",
"use_output_filename__switch": null
},
{
"acceptedExtensionList": [],
"batch_bundle_files": false,
"default_value": "-mfg",
"file_assignment": "none",
"helptext": "Output format.",
"hidden": false,
"id": 2713,
"mandatory": true,
"output_file": false,
"possible_values": {
"value": [
{
"display": "mgf format",
"value": "-mgf"
},
{
"display": "dta format",
"value": "-dta"
}
]
},
"rank": 2,
"switch": "outputFormat",
"switch_use__description": "Only the value will be passed in the argument list (ie. the switch won't be used)",
"switch_use__display_text": "valueOnly",
"switch_use__formatstring": "%(value)s",
"use_output_filename__switch": null
},
{
"acceptedExtensionList": [],
"batch_bundle_files": false,
"default_value": "",
"file_assignment": "none",
"helptext": "Activation method.",
"hidden": false,
"id": 2714,
"mandatory": true,
"output_file": false,
"possible_values": {
"value": [
{
"display": "Collision Ion Detection",
"value": "CID"
},
{
"display": "Electron Transfer Dissociation",
"value": "ETD"
}
]
},
"rank": 3,
"switch": "-A",
"switch_use__description": "Both the switch and the value will be passed in the argument list. They will be joined together with no space between them.",
"switch_use__display_text": "combined",
"switch_use__formatstring": "%(switch)s%(value)s",
"use_output_filename__switch": null
},
{
"acceptedExtensionList": [],
"batch_bundle_files": false,
"default_value": "",
"file_assignment": "none",
"helptext": "MS level.",
"hidden": false,
"id": 2715,
"mandatory": true,
"output_file": false,
"possible_values": {
"value": [
{
"display": "1",
"value": "1"
},
{
"display": "2",
"value": "2"
},
{
"display": "1-3",
"value": "1-3"
},
{
"display": "2-6",
"value": "2-6"
}
]
},
"rank": 4,
"switch": "-M",
"switch_use__description": "Both the switch and the value will be passed in the argument list. They will be joined together with no space between them.",
"switch_use__display_text": "combined",
"switch_use__formatstring": "%(switch)s%(value)s",
"use_output_filename__switch": null
},
{
"acceptedExtensionList": [],
"batch_bundle_files": false,
"default_value": "output.mgf",
"file_assignment": "none",
"helptext": "Output file.",
"hidden": false,
"id": 2716,
"mandatory": true,
"output_file": false,
"possible_values": "",
"rank": 5,
"switch": "-O",
"switch_use__description": "Both the switch and the value will be passed in the argument list. They will be joined together with no space between them.",
"switch_use__display_text": "combined",
"switch_use__formatstring": "%(switch)s%(value)s",
"use_output_filename__switch": null
}
],
"path": "MzXML2Search",
"queue": "",
"walltime": ""
}
}
@samuell

samuell commented Dec 19, 2013

Copy link
Copy Markdown
Author

Formatted with:

cat file.json | python -m json.tool > file_formatted.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment