annotate
The s4n annotate command is used to annotate CWL files with metadata (see CWL documentation: Metadata and Authorship and ARC CWL Metadata). It is recommended to annotate CWL files with minimal information.
Annotate CWL files
Usage: s4n annotate [TOOL_NAME] [COMMAND]
Commands: name Annotates name of a tool or workflow description Annotates description of a tool or workflow license Annotates license of a tool or workflow performer Annotates performer of a tool or workflow (arc ontology) process Annotates a process arc ontology help Print this message or the help of the given subcommand(s)
Arguments: [TOOL_NAME]
Options: -h, --help Print helpannotate name
Section titled “annotate name”The s4n annotate name command annotates a CWL file with a label.
Annotates name of a tool or workflow
Usage: s4n annotate name --name <NAME> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -n, --name <NAME> Name of the tool or workflow -h, --help Print helpannotate description
Section titled “annotate description”The s4n annotate description command annotates a CWL file with a description.
Annotates description of a tool or workflow
Usage: s4n annotate description --description <DESCRIPTION> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -d, --description <DESCRIPTION> Description of the tool or workflow -h, --help Print helpannotate license
Section titled “annotate license”The s4n annotate license command annotates a CWL file with a license.
Annotates license of a tool or workflow
Usage: s4n annotate license --license <LICENSE> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -l, --license <LICENSE> License of the tool or workflow -h, --help Print helpannotate performer
Section titled “annotate performer”The s4n annotate performer command annotates a CWL file with performer information (based on ARC schema). A performer can be an individual or team behind the development or execution of the workflow. The minimum requirement is providing a first and a last name for the performer, the other fields are optional. The role field can be annotated with an ontology. If the ARC namespace and schema are not yet present, they are added to the CWL file.
Annotates performer of a tool or workflow (arc ontology)
Usage: s4n annotate performer [OPTIONS] --first_name <FIRST_NAME> --last_name <LAST_NAME> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -f, --first_name <FIRST_NAME> First name of the performer -l, --last_name <LAST_NAME> Last name of the performer -m, --mail <MAIL> Email of the performer -a, --affiliation <AFFILIATION> Affiliation of the performer -r, --role <ROLE> Role of the performer -h, --help Print helpannotate process
Section titled “annotate process”The s4n annotate process command annotates a CWL file with a process sequence (based on ARC CWL Metadata). The parameter and value field can be annotated with an ontology. The minimum requirement is providing a name for the process sequence, the other fields are optional. If the ARC namespace and schema are not yet present, they are added to the CWL file.
Annotates a process sequence (arc ontolology)
Usage: s4n annotate process [OPTIONS] --name <NAME> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -n, --name <NAME> Name of the process sequence step -i, --input <INPUT> Input file or directory, e.g., folder/input.txt -o, --output <OUTPUT> Output file or directory, e.g., folder/output.txt -p, --parameter <PARAMETER> Process step parameter -v, --value <VALUE> Process step value -h, --help Print help