Skip to content

Instantly share code, notes, and snippets.

version 1.0
task do_something {
input {
File fastq
String basename_of_fq
}
command <<<
echo "First ten lines of ~{basename_of_fq}: " >> output.txt
head ~{fastq} >> output.txt
{
"my_workflow.fq": "./data/example.fq"
}
version 1.0
task do_something {
input {
File fastq
String basename_of_fq
}
command <<<
echo "First ten lines of ~{basename_of_fq}: "
head ~{fastq}
version 1.0
task do_something {
input {
File fastq
}
command <<<
exit 0
>>>
}
version 1.0
task do_something {
command <<<
exit 0
>>>
}
workflow my_workflow {
call do_something