Skip to content

Commit

Permalink
Simplified the instructions to test the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Aug 12, 2024
1 parent 1f16d31 commit edea848
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ jobs:
run: |
nextflow secrets set NCBI_API_KEY ${{ secrets.NCBI_API_KEY }}
- name: Download test data
run: |
curl https://tolit.cog.sanger.ac.uk/test-data/resources/genomeassembly/genomeassembly_test_data.tar.gz | tar xzf -
- name: Setup apptainer
uses: eWaterCycle/setup-apptainer@main

Expand Down
7 changes: 1 addition & 6 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,12 @@ mito:
The pipeline can be tested locally using a provided small test dataset:
```
cd ${GENOMEASSEMBLY_TEST_DATA}
curl https://tolit.cog.sanger.ac.uk/test-data/resources/genomeassembly/genomeassembly_test_data.tar.gz | tar xzf -

git clone [email protected]:sanger-tol/genomeassembly.git
cd genomeassembly/
sed -i "s|/home/runner/work/genomeassembly/genomeassembly|${GENOMEASSEMBLY_TEST_DATA}|" assets/test_github.yaml
nextflow run main.nf -profile test_github,singularity --outdir ${OUTDIR} {OTHER ARGUMENTS}
```

These command line steps will download and decompress the test data first, then download the pipeline and modify YAML so that it matches dataset location in your file system.
The last command line runs the test.
These command line steps will download the pipeline and run the test.

You should now be able to run the pipeline as you see fit.

Expand Down

0 comments on commit edea848

Please sign in to comment.