-
Notifications
You must be signed in to change notification settings - Fork 1
[Do not merge!] Pseudo PR for first release #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mashehu
wants to merge
202
commits into
TEMPLATE
Choose a base branch
from
dev
base: TEMPLATE
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
202 commits
Select commit
Hold shift + click to select a range
f4542b5
started building modules local, started on subworkflows
CaroAMN df4793e
testing docker container
CaroAMN 8304298
add intensity module
CaroAMN 972c897
module:intensity, input/output fix
CaroAMN cadfd96
testing
CaroAMN 84bc7bd
testing
CaroAMN 881dd10
added second module align
CaroAMN abc5470
added third module stitching
CaroAMN 5fc80d6
update readme, added 2 local modules resample + register
CaroAMN 0e1e94e
update readme, added metromap
CaroAMN c20148f
update
CaroAMN fa7aaa3
update
CaroAMN d26aeca
update metromap, adding resampling module
CaroAMN cb2c23b
preprocessing basic workflow implementation
CaroAMN b062bd7
clean up
CaroAMN 9ea1737
Update README.md
CaroAMN aeb564e
resample module added
CaroAMN f28b7c0
update readme
CaroAMN 00f5a3e
Merge pull request #4 from qbic-pipelines/tmp
CaroAMN 46b0eed
added registration module
CaroAMN 36a8e86
update workflow logic, emit statements of modules
CaroAMN fcf25ee
update moduel output paths
CaroAMN d5bf6fa
update
CaroAMN fe5a930
update workflow
CaroAMN e31da22
removed redundant file parsing
CaroAMN c3dea04
added: sample_sheet for processing multiple samples + workflow logic …
CaroAMN 9e25dea
clean up + publishing results per sample
CaroAMN c4868ed
Merge pull request #5 from qbic-pipelines/dev_preprocessing
CaroAMN ccfa907
pulling container from quay.io
CaroAMN a1211ed
numorph preprocessing as subworkflow
CaroAMN 0d89496
added resample module
CaroAMN 487e960
bug fix registration module + added into the full lsmquant workflow. …
CaroAMN 88771f4
updated
CaroAMN c996cef
Template update for nf-core/tools version 3.2.0
CaroAMN 71ded30
template update
CaroAMN 3b0ad7c
formating
CaroAMN 3b8791e
formating
CaroAMN 91e0fea
delet nfvalidation, update nextflow_schema with new pipeline params, …
CaroAMN 118a316
fix nf-schema
CaroAMN 5b5954b
Merge pull request #6 from CaroAMN/dev
CaroAMN 2838cd9
added stubs
CaroAMN 20ad524
started to setup nf-test tests with stub, + bug fix in stitched chan…
CaroAMN a09868e
stub tests for all modules
CaroAMN 971a211
Merge pull request #7 from CaroAMN/dev
CaroAMN bafec4a
module for matlab file conversion
CaroAMN 6e93cc7
adding subworklfow test
CaroAMN 2af8f46
Merge pull request #8 from CaroAMN/dev
CaroAMN 2044680
update process resources for full data run
CaroAMN 59fd829
update
CaroAMN 40f8e68
test profile with zip archive data downloaded from zenodo
CaroAMN 034eee8
ara registration as subworkflow
CaroAMN 9481dc5
mat2json module in preprocessing subworkflow
CaroAMN e708461
Merge pull request #9 from CaroAMN/dev
CaroAMN f4f7c63
updated test profile with test data on the test-data repository, upda…
CaroAMN e466eca
Merge pull request #10 from CaroAMN/dev
CaroAMN 3304111
bug fix in mat2json output + new metromap
CaroAMN cfab1b5
update output docs
CaroAMN 0be42aa
update output docs
CaroAMN 1948a40
update usage + parameter_template file added
CaroAMN 2dc5613
Merge pull request #11 from CaroAMN/dev
CaroAMN 44df04e
new module for segmentation + gpu lable for segmentation process
CaroAMN 4eca6bf
update params_template, update documentation
CaroAMN 4c3dde9
fix numorph3dunet output + gpu access
CaroAMN 3ba469c
adding nf-test-gpu.yml
CaroAMN aed2dcb
fix toll versions, excluding segmentation from test profile, update docs
CaroAMN 10e1fc9
Merge pull request #13 from CaroAMN/dev
CaroAMN 8dae5b2
Merged changes from nf-core template
CaroAMN 0041852
Merge pull request #14 from CaroAMN/merging-template-updates
CaroAMN ccef730
bug fix from template merge
CaroAMN 42a5271
adding default.nf.test + github actions, small version fix in stitchn…
CaroAMN 4d9f106
fix typo
CaroAMN 68b2369
fix typo in directory
CaroAMN cf37f53
change absolute to relative paths
CaroAMN 680c351
update relative paths
CaroAMN 13e090c
update relative paths
CaroAMN 39b417f
update relative paths
CaroAMN 1914633
update relative paths
CaroAMN e647411
update relative paths
CaroAMN bd01191
update relative paths
CaroAMN ca3fd31
update relative paths
CaroAMN 5386b08
update relative paths
CaroAMN da3f2fe
update relative paths
CaroAMN e784238
update relative paths
CaroAMN 12289f5
update
CaroAMN e9a9704
using stageAs
CaroAMN adec148
using stageAs update
CaroAMN c429a8e
using stageAs update
CaroAMN cc4f955
update: convert symlinks
CaroAMN f291a06
test relative paths with new image and matlab application
CaroAMN 0b504e3
test output paths
CaroAMN e6199e1
update nf-test config
CaroAMN 9394f3f
update nf-test with stub tests, nf-test ci only stub tests, cache fix…
CaroAMN 3cec0ad
test without stub
CaroAMN bc0adf4
stub tests only
CaroAMN 2fdf046
nf-test main/stub for intensity module
CaroAMN 58cbfa9
nf-tests update
CaroAMN fac5f79
ignore stub tests from modules/subworkflows local
CaroAMN 856ea25
update pipeline test data base path
CaroAMN 70af6fc
Merge pull request #18 from CaroAMN/dev
CaroAMN f2a2794
Merged changes from nf-core template
CaroAMN cc0bc58
Merge branch 'dev' into merging-template-updates
CaroAMN 2cc9c95
fix ro-crate-metadata.json
CaroAMN 09583fd
pre-commit update
CaroAMN a21f43e
update pre-commit changes
CaroAMN 901aeb9
Merge pull request #2 from CaroAMN/merging-template-updates
CaroAMN 00f089b
only stub tests
CaroAMN 349d267
Merge pull request #19 from CaroAMN/dev
CaroAMN 040d5c0
added stub test for local numorphunet-module
CaroAMN fd0059c
Merge pull request #20 from CaroAMN/dev
CaroAMN 5fffa29
update
CaroAMN e941602
path fix for test data
CaroAMN 356e9dd
path fix for test data
CaroAMN 72cb1ec
path fix for test data
CaroAMN 19d4100
path fix for test data
CaroAMN 427cce9
update file path to the right file for shards
CaroAMN 1451070
update
CaroAMN 7956595
fix linting
CaroAMN c9f1758
update nextflow_schema with new parameter
CaroAMN 119aca6
gpu test
CaroAMN 0bb7a66
testing gpu access
CaroAMN b3677c2
unet test with new minimal test dataset, updated setup method
CaroAMN ca094e7
Merge pull request #21 from CaroAMN/dev
CaroAMN bb29d0e
Merged changes from nf-core template
CaroAMN 1d168a6
update ro-crate-metadata.json
CaroAMN 559f6c5
update nextflow version manually for GPU tests
CaroAMN 9822d46
update nextflow version manually for GPU tests
CaroAMN 7c56103
linting
CaroAMN 6e9fa82
Merge pull request #24 from CaroAMN/merging-template-updates
CaroAMN 24e51d8
linting
CaroAMN ec893f1
Merge pull request #25 from CaroAMN/dev
CaroAMN 94e0e36
update pipeline level test
CaroAMN ab0542d
update subworkflows + modules, update meta.yml of numorph subworkflows
CaroAMN 44543df
update stub pipeline test
CaroAMN 48e6e39
update snapshots pipeline level tests, update config files
CaroAMN bb0c650
update pipeline level test + snapshot
CaroAMN 500cea6
update preprocess snapshots
CaroAMN b8ae277
update all modules and subworkflow tests
CaroAMN 4806886
update snapshots + nftignore
CaroAMN 0e634df
update test config
CaroAMN fe77cd4
update config
CaroAMN 1c80693
update test profile
CaroAMN a5494c3
update snapshot pipeline level tests
CaroAMN 2b23657
fix nf-test-gpu.yml
CaroAMN 4c943b0
update modules + container images
CaroAMN 8f8b5f1
update nftignore, subworkflow(test)
CaroAMN f37b9bb
debug statements
CaroAMN 7406876
profile gpu in test file
CaroAMN 7393310
profile test,gpu in test file
CaroAMN 70c77b5
remove nextflow config in test
CaroAMN 669b9ac
config file
CaroAMN 165b3c4
add gpu profile to test
CaroAMN 4b41cb6
reset profiles in default test + add svg metromap +hirse promo badge
CaroAMN 27f44f1
profile test in test script, deleted obsolete config test_gpu
CaroAMN 7fdbd45
lint
CaroAMN 61f7e6d
add nextflow debug var and get conatiner launch information...
CaroAMN afd820f
find nextflow log on ci
CaroAMN 4159eeb
removed pwd + resolved symlinks for registration and resampling modul…
CaroAMN debb80e
Merge pull request #26 from CaroAMN/dev
CaroAMN cb0df5d
adjusted mat2json process
CaroAMN f40b910
added container runoptions to gpu process tag, deleted gpu test profi…
CaroAMN b1ccb97
update snapshots + exclude unused params from base config
CaroAMN de2600c
update snapshot and test
CaroAMN 77a1d03
update snapshot
CaroAMN bbbd6a5
Merge pull request #28 from CaroAMN/dev
CaroAMN 22483ed
new container for preprocessing, adjusting symlinks for files, fixing…
CaroAMN b533a26
fix for test profile: raw images wont get copied into the work dir fo…
CaroAMN e2c4da1
adding staging module into main workflow
CaroAMN ecd6ace
cleanup
CaroAMN 1afc76b
new container image
CaroAMN ccb723e
adding multiqc + update workflow with file staging module
CaroAMN a58bbd3
update snapshot
CaroAMN 7529b76
update snapshot + nftignore
CaroAMN ac531d7
now use the container from nf-core quay io
CaroAMN 667c394
adjusted docs
CaroAMN 67c8e0a
update readme
CaroAMN dcc6f68
fix ro-crate
CaroAMN 8633750
Merge pull request #30 from CaroAMN/dev
CaroAMN df24526
bump version + cleanup + multiqc update
CaroAMN 3fdef49
update snapshot
CaroAMN a7836f8
update snapshot
CaroAMN 0ab9428
Merge pull request #32 from CaroAMN/dev
CaroAMN 97adbc0
adding larger volume to nf-test+ deleting stub tag, clean nf-test-gpu…
CaroAMN d0d8528
Merge pull request #34 from CaroAMN/dev
CaroAMN e6138cc
fix incorrect file permissions
mashehu c536b50
Merge pull request #35 from nf-core/fix-file-permissions
CaroAMN da697f7
adding citations, remove typos
CaroAMN b16975c
fix ro-crate
CaroAMN 303fd84
Merge pull request #36 from CaroAMN/dev
CaroAMN a05934d
Apply suggestions from code review
CaroAMN 8ae1d64
Update .github/workflows/nf-test-gpu.yml
CaroAMN bb73714
Apply suggestions from code review
CaroAMN 0ba0a5a
apply suggestions from code review, typos
CaroAMN f88e88e
linting
CaroAMN 9b1e779
rocrate
CaroAMN d7cdc00
Merge pull request #38 from CaroAMN/dev
CaroAMN 07bf023
fix typos, add test_full
CaroAMN c4c7011
Merge pull request #39 from CaroAMN/dev
CaroAMN 9a6aea9
optimizing resources, fix stagefiles for large datasets
CaroAMN 1cdb825
update resource usage, fix input for large datasets
CaroAMN 7addc4b
back to unzip
CaroAMN 0fce8e5
update snapshot
CaroAMN fbe561a
Merge pull request #40 from CaroAMN/dev
CaroAMN File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,127 @@ | ||
| name: Run GPU nf-tests | ||
| on: | ||
| push: | ||
| branches: | ||
| - dev | ||
| pull_request: | ||
| release: | ||
| types: [published] | ||
| workflow_dispatch: | ||
| inputs: | ||
| runners: | ||
| description: "Runners to test on" | ||
| type: string | ||
| default: "gpu" | ||
|
|
||
| # Cancel if a newer run is started | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| # renovate: datasource=github-releases depName=askimed/nf-test versioning=semver | ||
| NFT_VER: "0.9.3" | ||
| NXF_ANSI_LOG: false | ||
| NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity | ||
| NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity | ||
| # renovate: datasource=github-releases depName=nextflow-io/nextflow versioning=semver | ||
| NXF_VER: "24.10.5" | ||
|
|
||
| jobs: | ||
| get-shards: | ||
| runs-on: | ||
| - runs-on=${{ github.run_id }}-nf-test-get-shards-gpu | ||
| - runner=2cpu-linux-x64 | ||
| name: "Get Shards" | ||
| outputs: | ||
| shard: ${{ steps.set-shards.outputs.shard }} | ||
| total_shards: ${{ steps.set-shards.outputs.total_shards }} | ||
| steps: | ||
| - name: Check out pipeline code | ||
| uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: run nf-test-shard action | ||
| id: set-shards | ||
| uses: ./.github/actions/get-shards | ||
| env: | ||
| NFT_VER: ${{ env.NFT_VER }} | ||
| with: | ||
| tags: "gpu" | ||
| max_shards: 2 | ||
|
|
||
| - name: Set outputs | ||
| id: set-outputs | ||
| run: | | ||
| echo "shard=${{ steps.set-shards.outputs.shard }}" >> $GITHUB_ENV | ||
| echo "total_shards=${{ steps.set-shards.outputs.total_shards }}" >> $GITHUB_ENV | ||
|
|
||
| nf-test-gpu: | ||
| needs: [get-shards] | ||
| runs-on: "runs-on=${{ github.run_id }}/family=g4dn.xlarge/image=ubuntu24-gpu-x64" | ||
| name: "GPU Test | ${{ matrix.profile }} | ${{ matrix.shard }} | ${{ matrix.NXF_VER }} | ${{ matrix.filters }}" | ||
| env: | ||
| NXF_VER: ${{ matrix.NXF_VER }} | ||
|
|
||
| # Only run on push if this is the nf-core dev branch (merged PRs) | ||
| # and number of shards is greater than 0 | ||
| if: | | ||
| needs.get-shards.outputs.total_shards > 0 && | ||
| ( | ||
| github.event_name != 'push' || | ||
| ( github.event_name == 'push' && github.repository == 'nf-core/lsmquant' ) | ||
| ) | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| profile: [docker, singularity] | ||
| shard: ${{ fromJson(needs.get-shards.outputs.shard) }} | ||
| NXF_VER: | ||
| - "24.10.5" | ||
| filters: [pipeline] | ||
|
|
||
| steps: | ||
| - name: Check out pipeline code | ||
| uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Test CUDA | ||
| run: | | ||
| nvidia-smi -L | ||
|
|
||
| - name: Run nf-test Action | ||
| uses: ./.github/actions/nf-test | ||
| with: | ||
| profile: ${{ matrix.profile }},gpu | ||
| shard: ${{ matrix.shard }} | ||
| total_shards: ${{ needs.get-shards.outputs.total_shards }} | ||
| filters: ${{ matrix.filters }} | ||
| tags: "gpu" | ||
|
|
||
| confirm-pass: | ||
| runs-on: | ||
| - runs-on=${{ github.run_id }}-confirm-pass | ||
| - runner=2cpu-linux-x64 | ||
| needs: [nf-test-gpu] | ||
| if: always() | ||
| steps: | ||
| - name: One or more tests failed | ||
| if: ${{ contains(needs.*.result, 'failure') }} | ||
| run: exit 1 | ||
|
|
||
| - name: One or more tests cancelled | ||
| if: ${{ contains(needs.*.result, 'cancelled') }} | ||
| run: exit 1 | ||
|
|
||
| - name: All tests ok | ||
| if: ${{ contains(needs.*.result, 'success') }} | ||
| run: exit 0 | ||
|
|
||
| - name: debug-print | ||
| if: always() | ||
| run: | | ||
| echo "toJSON(needs) = ${{ toJSON(needs) }}" | ||
| echo "toJSON(needs.*.result) = ${{ toJSON(needs.*.result) }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,3 +7,5 @@ testing/ | |
| testing* | ||
| *.pyc | ||
| null/ | ||
| .nf-test* | ||
| .nf-test/ | ||
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,4 +9,7 @@ template: | |
| name: lsmquant | ||
| org: nf-core | ||
| outdir: . | ||
| version: 1.0dev | ||
| skip_features: | ||
| - fastqc | ||
| - igenomes | ||
| version: 1.0.0 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,41 +17,76 @@ | |
| [](https://cloud.seqera.io/launch?pipeline=https://github.com/nf-core/lsmquant) | ||
|
|
||
| [](https://nfcore.slack.com/channels/lsmquant)[](https://bsky.app/profile/nf-co.re)[](https://mstdn.science/@nf_core)[](https://www.youtube.com/c/nf-core) | ||
|  | ||
|
|
||
| ## Introduction | ||
|
|
||
| **nf-core/lsmquant** is a bioinformatics pipeline that ... | ||
| **nf-core/lsmquant** is a bioinformatics pipeline that performs preprocessing and analysis of light-sheet microscopy images of tissue cleared samples. The pipeline takes 2D single-channel 16-bit `.tif` images as input. The preprocessing consists of intesity adjustment, channel alignment, and tile stitching to reconstruct the 3D image. For mousebrain samples it offers a registration to the Allen Mouse Brain Reference Atlas for precise region annotation. Cell nuclei quantification is perfomed on the nuclear channel by a 3D-Unet. | ||
|
|
||
| <!-- TODO nf-core: | ||
| Complete this sentence with a 2-3 sentence summary of what types of data the pipeline ingests, a brief overview of the | ||
| major pipeline sections and the types of output it produces. You're giving an overview to someone new | ||
| to nf-core here, in 15-20 seconds. For an example, see https://github.com/nf-core/rnaseq/blob/master/README.md#introduction | ||
| --> | ||
| <div style="text-align: center;"> | ||
| <img src="docs/images/lsmquant-metromap.svg" alt="lasmquant metromap"> | ||
| </div> | ||
|
|
||
| <!-- TODO nf-core: Include a figure that guides the user through the major workflow steps. Many nf-core | ||
| workflows use the "tube map" design for that. See https://nf-co.re/docs/guidelines/graphic_design/workflow_diagrams#examples for examples. --> | ||
| <!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline -->1. Read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))2. Present QC for raw reads ([`MultiQC`](http://multiqc.info/)) | ||
| ## Basic workflow | ||
|
|
||
| **Preprocessing** | ||
|
|
||
| 1. Intensity Adjustment | ||
| 2. Channel Alignment | ||
| 3. Iterative Stitching | ||
|
|
||
| **ARA Registration** | ||
|
|
||
| 4. ARA Registration subworkflow (optional) | ||
| 5. Cell Nuclei Quantification | ||
|
|
||
| **Full** | ||
|
|
||
| 1. Preprocessing | ||
| 2. Nuclei quantification | ||
|
|
||
| ## Pipeline Summary | ||
|
|
||
| The pipeline consists of two major workflows `preprocessing` and the `full` workflow. The `ara-regsitration` is an optional subworkflow that works only for whole mouse brain samples. | ||
|
|
||
| ### Preprocessing | ||
|
|
||
| Preprocessing is performed on raw 2D single-channel 16-bit `.tif` images produced by a light sheet microscope. Three individual steps are performed: | ||
|
|
||
| - **Intensity adjustments** to correct for the Gaussian shape of the lightsheet and intensity differences between adjacent tiles | ||
| - **Image channel alignment** using a 2D rigid approach or a nonlinear 3D approach using Elastix. | ||
| - **Image tile stitching** via an iterative 2D stitching approach by calculating z displacements and xy translations using phase correlation and SIFT. | ||
|
|
||
| ### Full | ||
|
|
||
| Quantification of cell-nuclei is performed using a 3D-Unet. It is performed on the nuclear channel only, assuming that the corresponding image file names contain the pattern `C1`. | ||
|
|
||
| ### ARA Registration | ||
|
|
||
| Optional registration to the Allen Reference Atlas (ARA) for functional brain region annotation can be perfomed before segmentation. | ||
| This includes the following two steps: | ||
|
|
||
| - Downsampling of the high resolution stitched images | ||
| - Registration to the ARA | ||
|
|
||
| ## Usage | ||
|
|
||
| > [!NOTE] | ||
| > If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) with `-profile test` before running the workflow on actual data. | ||
|
|
||
| <!-- TODO nf-core: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets. | ||
| Explain what rows and columns represent. For instance (please edit as appropriate): | ||
| To run the pipeline you need to provide a samplesheet with your data in the following structure: | ||
|
|
||
| First, prepare a samplesheet with your input data that looks as follows: | ||
|
|
||
| `samplesheet.csv`: | ||
| `samplesheet.csv` | ||
|
|
||
| ```csv | ||
| sample,fastq_1,fastq_2 | ||
| CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz | ||
| sample_id,img_directory,parameter_file | ||
| TEST1,path/to/image-files,path/to/parameter/file.csv | ||
| ``` | ||
|
|
||
| Each row represents a fastq file (single-end) or a pair of fastq files (paired end). | ||
| The parameter csv file includes sample specific parameters that are used for processing the given data. It needs to follow a specific structure. | ||
|
|
||
| --> | ||
| Please get the basic template file [here](../assets/params_template_lsmquant.csv). | ||
| `parametersheet.csv` | ||
|
|
||
| Now, you can run the pipeline using: | ||
|
|
||
|
|
@@ -60,8 +95,9 @@ Now, you can run the pipeline using: | |
| ```bash | ||
| nextflow run nf-core/lsmquant \ | ||
| -profile <docker/singularity/.../institute> \ | ||
| --input samplesheet.csv \ | ||
| --outdir <OUTDIR> | ||
| --input <samplesheet.csv> \ | ||
| --outdir <OUTDIR> \ | ||
| --stage <stage> | ||
| ``` | ||
|
|
||
| > [!WARNING] | ||
|
|
@@ -79,6 +115,14 @@ For more details about the output files and reports, please refer to the | |
|
|
||
| nf-core/lsmquant was originally written by Carolin Schwitalla. | ||
|
|
||
| The pipeline is mainly based on the NuMorph (Nuclear-Based Morphometry) toolbox developed by Krupa et al., 2021. | ||
|
|
||
| > **NuMorph: Tools for cortical cellular phenotyping in tissue-cleared whole-brain images** | ||
| > | ||
| > Krupa O, Fragola G, Hadden-Ford E, Mory JT, Liu T, Humphrey Z, Rees BW, Krishnamurthy A, Snider WD, Zylka MJ, Wu G, Xing L, Stein JL. | ||
| > | ||
| > Cell Rep. 2021 Oct 12, doi: [10.1016/j.celrep.2021.109802](https://doi.org/10.1016%2Fj.celrep.2021.109802) | ||
|
|
||
| We thank the following people for their extensive assistance in the development of this pipeline: | ||
|
|
||
| <!-- TODO nf-core: If applicable, make list of people who have also contributed --> | ||
|
Comment on lines
126
to
128
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. either add people or remove this line 🙂 |
||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.