Annotate command reference
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 schema Annotates schema of a tool or workflow namespace Annotates namespace of a tool or workflow author Annotates author of a tool or workflow (schema.org) contributor Annotates contributor of a tool or workflow (schema.org) performer Annotates performer of a tool or workflow (arc ontology) process Annotates a process (arc ontolology) container Annotates container information of a tool or workflow custom Annotates a CWL file with an custom field and value help Print this message or the help of the given subcommand(s)
Arguments: [TOOL_NAME] Name of the tool or workflow to annotate
annotate 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 help
annotate 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 help
annotate 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 help
annotate schema
Section titled “annotate schema”The s4n annotate schema
command annotates a CWL file with a schema.
Annotates schema of a tool or workflow
Usage: s4n annotate schema --schema <SCHEMA> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -s, --schema <SCHEMA> Schema to annotate -h, --help Print help
annotate namespace
Section titled “annotate namespace”The s4n annotate namespace
command annotates a CWL file with a namespace.
Annotates schema of a tool or workflow
Usage: s4n annotate namespace [OPTIONS] --namespace <NAMESPACE> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -n, --namespace <NAMESPACE> Namespace to annotate -s, --short <SHORT> Namespace abbreviation to annotate -h, --help Print help
annotate author
Section titled “annotate author”The s4n annotate author
command annotates a CWL file with author information (based on schema.org). The minimum requirement is providing a name for the author, the other fields are optional. If the schema.org namespace and schema are not yet present, they are added to the CWL file.
Annotates author of a tool or workflow (schema.org)
Usage: s4n annotate author [OPTIONS] --name <NAME> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -n, --name <NAME> Name of the person -m, --mail <MAIL> Email of the person -i, --id <ID> Identifier of the person, e.g., ORCID -h, --help Print help
annotate contributor
Section titled “annotate contributor”The s4n annotate contributor
command annotates a CWL file with contributor information (based on schema.org). The fields are similar to the author fields. If the schema.org namespace and schema are not yet present, they are added to the CWL file.
Annotates author of a tool or workflow (schema.org)
Usage: s4n annotate contributor [OPTIONS] --name <NAME> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -n, --name <NAME> Name of the person -m, --mail <MAIL> Email of the person -i, --id <ID> Identifier of the person, e.g., ORCID -h, --help Print help
annotate 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 help
annotate 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
annotate container
Section titled “annotate container”The s4n annotate container
command annotates a CWL file with container information.
Annotates container information of a tool or workflow
Usage: s4n annotate container --container <CONTAINER> <CWL_NAME>
Arguments: <CWL_NAME> Name of the CWL file
Options: -c, --container <CONTAINER> Annotation value for the container -h, --help Print help
annotate custom
Section titled “annotate custom”The s4n annotate custom
command annotates a CWL file with a custom field and value.
Annotates a CWL file with an custom field and value
Usage: s4n annotate custom <CWL_NAME> <FIELD> <VALUE>
Arguments: <CWL_NAME> Name of the CWL file <FIELD> Field to annotate <VALUE> Value for the field
Options: -h, --help Print help