|
1 | | -# sanger-tol/nfmicrofinder |
| 1 | +# nf-core/nfmicrofinder |
2 | 2 |
|
3 | | -[](https://github.com/sanger-tol/nfmicrofinder/actions/workflows/nf-test.yml) |
4 | | -[](https://github.com/sanger-tol/nfmicrofinder/actions/workflows/linting.yml)[](https://doi.org/10.5281/zenodo.XXXXXXX) |
| 3 | +[](https://github.com/nf-core/nfmicrofinder/actions/workflows/ci.yml) |
| 4 | +[](https://github.com/nf-core/nfmicrofinder/actions/workflows/linting.yml)[](https://nf-co.re/nfmicrofinder/results)[](https://doi.org/10.5281/zenodo.XXXXXXX) |
5 | 5 | [](https://www.nf-test.com) |
6 | 6 |
|
7 | 7 | [](https://www.nextflow.io/) |
8 | | -[](https://github.com/nf-core/tools/releases/tag/3.3.2) |
| 8 | +[](https://github.com/nf-core/tools/releases/tag/3.3.1) |
9 | 9 | [](https://docs.conda.io/en/latest/) |
10 | 10 | [](https://www.docker.com/) |
11 | 11 | [](https://sylabs.io/docs/) |
12 | | -[](https://cloud.seqera.io/launch?pipeline=https://github.com/sanger-tol/nfmicrofinder) |
| 12 | +[](https://cloud.seqera.io/launch?pipeline=https://github.com/nf-core/nfmicrofinder) |
13 | 13 |
|
14 | | -## Introduction |
| 14 | +[](https://nfcore.slack.com/channels/nfmicrofinder)[](https://bsky.app/profile/nf-co.re)[](https://mstdn.science/@nf_core)[](https://www.youtube.com/c/nf-core) |
15 | 15 |
|
16 | | -**sanger-tol/nfmicrofinder** is a bioinformatics pipeline that ... |
| 16 | +## Introduction |
17 | 17 |
|
18 | | -<!-- TODO nf-core: |
19 | | - Complete this sentence with a 2-3 sentence summary of what types of data the pipeline ingests, a brief overview of the |
20 | | - major pipeline sections and the types of output it produces. You're giving an overview to someone new |
21 | | - to nf-core here, in 15-20 seconds. For an example, see https://github.com/nf-core/rnaseq/blob/master/README.md#introduction |
22 | | ---> |
| 18 | +**nf-core/nfmicrofinder** is a bioinformatics pipeline that aids in the curation of bird genome assemblies by identifying putative microchromosome scaffolds and moving them to the start of the genome assembly FASTA file. |
23 | 19 |
|
24 | | -<!-- TODO nf-core: Include a figure that guides the user through the major workflow steps. Many nf-core |
25 | | - workflows use the "tube map" design for that. See https://nf-co.re/docs/guidelines/graphic_design/workflow_diagrams#examples for examples. --> |
26 | | -<!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline --> |
| 20 | +The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The [Nextflow DSL2](https://www.nextflow.io/docs/latest/dsl2.html) implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. |
27 | 21 |
|
28 | | -## Usage |
| 22 | +## Pipeline Summary |
29 | 23 |
|
30 | | -> [!NOTE] |
31 | | -> 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. |
| 24 | +1. Input validation and parameter checks |
| 25 | +2. Index reference genome using Miniprot |
| 26 | +3. Align protein sequences to genome using Miniprot |
| 27 | +4. Filter alignments based on quality thresholds (identity ≥70%, score ≥60) |
| 28 | +5. Sort FASTA file based on filtered alignments to prioritize microchromosomes |
| 29 | +6. Generate final reordered assembly and pipeline reports |
32 | 30 |
|
33 | | -<!-- TODO nf-core: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets. |
34 | | - Explain what rows and columns represent. For instance (please edit as appropriate): |
| 31 | +## Quick Start |
35 | 32 |
|
36 | | -First, prepare a samplesheet with your input data that looks as follows: |
| 33 | +1. Install [`Nextflow`](https://www.nextflow.io/docs/latest/getstarted.html#installation) (`>=24.10.5`) |
37 | 34 |
|
38 | | -`samplesheet.csv`: |
| 35 | +2. Install any of [`Docker`](https://docs.docker.com/engine/installation/), [`Singularity`](https://www.sylabs.io/guides/3.0/user-guide/), [`Podman`](https://podman.io/), [`Shifter`](https://nersc.gitlab.io/development/shifter/how-to-use/) or [`Charliecloud`](https://hpc.github.io/charliecloud/) for full pipeline reproducibility _(please only use [`Conda`](https://conda.io/miniconda.html) as a last resort; see [docs](https://nf-co.re/usage/configuration#basic-configuration-profiles))_ |
39 | 36 |
|
40 | | -```csv |
41 | | -sample,fastq_1,fastq_2 |
42 | | -CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz |
43 | | -``` |
| 37 | +3. Download the pipeline and test it on a minimal dataset with a single command: |
44 | 38 |
|
45 | | -Each row represents a fastq file (single-end) or a pair of fastq files (paired end). |
| 39 | + ```bash |
| 40 | + nextflow run main.nf -profile test,docker |
| 41 | + ``` |
46 | 42 |
|
47 | | ---> |
| 43 | + > Note that it is recommend to use the `-profile` parameter to specify the container technology of your choice. See the [nf-core pipeline documentation](https://nf-co.re/usage/running#software-dependencies) for more information. |
48 | 44 |
|
49 | | -Now, you can run the pipeline using: |
| 45 | +4. Start running your own analysis! |
50 | 46 |
|
51 | | -<!-- TODO nf-core: update the following command to include all required parameters for a minimal example --> |
| 47 | + ```bash |
| 48 | + nextflow run main.nf \ |
| 49 | + --input genome.fa \ |
| 50 | + --pep_file proteins.fa \ |
| 51 | + --output_prefix my_analysis \ |
| 52 | + --outdir <OUTDIR> |
| 53 | + ``` |
52 | 54 |
|
53 | | -```bash |
54 | | -nextflow run sanger-tol/nfmicrofinder \ |
55 | | - -profile <docker/singularity/.../institute> \ |
56 | | - --input samplesheet.csv \ |
57 | | - --outdir <OUTDIR> |
58 | | -``` |
| 55 | +## Documentation |
59 | 56 |
|
60 | | -> [!WARNING] |
61 | | -> Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those provided by the `-c` Nextflow option can be used to provide any configuration _**except for parameters**_; see [docs](https://nf-co.re/docs/usage/getting_started/configuration#custom-configuration-files). |
| 57 | +The nfmicrofinder pipeline comes with documentation about the pipeline [usage](docs/usage.md) and [output](docs/output.md). |
62 | 58 |
|
63 | 59 | ## Credits |
64 | 60 |
|
65 | | -sanger-tol/nfmicrofinder was originally written by yumisims. |
| 61 | +nfmicrofinder was originally written by Yumi Sims and Will Eagle ([@weaglesBio](https://github.com/weaglesBio)). |
66 | 62 |
|
67 | 63 | We thank the following people for their extensive assistance in the development of this pipeline: |
68 | 64 |
|
69 | | -<!-- TODO nf-core: If applicable, make list of people who have also contributed --> |
| 65 | +- Jim Downie ([@prototaxites](https://github.com/prototaxites)) |
70 | 66 |
|
71 | 67 | ## Contributions and Support |
72 | 68 |
|
73 | 69 | If you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md). |
74 | 70 |
|
75 | 71 | ## Citations |
76 | 72 |
|
77 | | -<!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file. --> |
78 | | -<!-- If you use sanger-tol/nfmicrofinder for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) --> |
79 | | - |
80 | | -<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline --> |
81 | | - |
82 | 73 | An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file. |
83 | 74 |
|
84 | | -This pipeline uses code and infrastructure developed and maintained by the [nf-core](https://nf-co.re) community, reused here under the [MIT license](https://github.com/nf-core/tools/blob/main/LICENSE). |
| 75 | +You can cite the `nf-core` publication as follows: |
85 | 76 |
|
86 | 77 | > **The nf-core framework for community-curated bioinformatics pipelines.** |
87 | 78 | > |
|
0 commit comments