Skip to content

Commit

Permalink
update scripts & add placeholder nf and config
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Mar 21, 2024
1 parent 4034fdd commit 2585032
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
Empty file added main.nf
Empty file.
Empty file added nextflow.config
Empty file.
9 changes: 4 additions & 5 deletions scripts/run_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

set -e

# build component
rm -r target && viash ns build --parallel --setup cb
OUT=output/local

# clear output dir
rm -r output/local
rm -r "$OUT"

# run component
NXF_VER=23.10.0 nextflow run \
Expand All @@ -15,7 +14,7 @@ NXF_VER=23.10.0 nextflow run \
-profile docker \
--input resources/input1.txt \
--multiple_input "resources/input1.txt;resources/input2.txt" \
--publish_dir output/local
--publish_dir "$OUT"

# check if output is correct
scripts/verify_output.sh output/local
scripts/verify_output.sh "$OUT"
21 changes: 21 additions & 0 deletions scripts/run_local_with_remote.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

set -e

OUT=output/local_with_remote

# clear output dir
rm -r "$OUT"

# run component
NXF_VER=23.10.0 nextflow run \
viash-io/test-nextflow-wave-fusion \
-r main_build \
-main-script target/nextflow/method/main.nf \
-profile docker \
--input resources/input1.txt \
--multiple_input "resources/input1.txt;resources/input2.txt" \
--publish_dir "$OUT"

# check if output is correct
scripts/verify_output.sh "$OUT"

0 comments on commit 2585032

Please sign in to comment.