Skip to content
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

Patch issue100 #101

Merged
merged 4 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions config/functional_annotation_modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ process {
}
withName: 'MERGE_FUNCTIONAL_ANNOTATION' {
ext.args = [
'-id NBIS',
'-pe 5'
"-id $params.merge_annotation_identifier",
'-pe 5',
params.use_pcds ? "--pcds" : ""
].join(' ').trim()
publishDir = [
[
Expand Down
3 changes: 2 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ params {
gff_annotation = '/path/to/annotation.gff'
records_per_file = 1000
blast_db_fasta = '/path/to/protein/database.fasta'
merge_annotation_identifier = 'ID'
merge_annotation_identifier = 'NBIS'
use_pcds = false

// Transcript assembly parameters
reads = "/path/to/reads_{1,2}.fastq.gz"
Expand Down
3 changes: 3 additions & 0 deletions subworkflows/functional_annotation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ nextflow run NBISweden/pipelines-nextflow \
- `outdir`: Path to the results folder.
- `records_per_file`: Number of fasta records per file to distribute to blast and interproscan (default: 1000).
- `codon_table`: (default: 1).
- `blast_db_fasta` : Path to blast protein database fasta.
- `merge_annotation_identifier`: The identifier to use for labeling genes (default: NBIS).
- `use_pcds`: If true, enables the pcds flag when merging annotation.

### Tool specific parameters

Expand Down
Loading