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

Update Mirbase URLs structure to match their new structure #269

Merged
merged 1 commit into from
Sep 1, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ It should point to the 3-letter species name used by [miRBase](https://www.mirba

Different parameters can be set for the two supported databases. By default `miRBase` will be used with the parameters below.

- `mirna_gtf`: If not supplied by the user, then `mirna_gtf` will point to the latest GFF3 file in miRbase: `https://mirbase.org/ftp/CURRENT/genomes/${params.mirtrace_species}.gff3`
- `mature`: points to the FASTA file of mature miRNA sequences. `https://mirbase.org/ftp/CURRENT/mature.fa.gz`
- `hairpin`: points to the FASTA file of precursor miRNA sequences. `https://mirbase.org/ftp/CURRENT/hairpin.fa.gz`
- `mirna_gtf`: If not supplied by the user, then `mirna_gtf` will point to the latest GFF3 file in miRbase: `https://mirbase.org/download/CURRENT/genomes/${params.mirtrace_species}.gff3`
- `mature`: points to the FASTA file of mature miRNA sequences. `https://mirbase.org/download/CURRENT/mature.fa`
- `hairpin`: points to the FASTA file of precursor miRNA sequences. `https://mirbase.org/download/CURRENT/hairpin.fa`

If MirGeneDB should be used instead it needs to be specified using `--mirgenedb` and use the parameters below .

Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ params {
igenomes_base = 's3://ngi-igenomes/igenomes'
igenomes_ignore = false
mirna_gtf = null
mature = "https://mirbase.org/ftp/CURRENT/mature.fa.gz"
hairpin = "https://mirbase.org/ftp/CURRENT/hairpin.fa.gz"
mature = "https://mirbase.org/download/CURRENT/mature.fa"
hairpin = "https://mirbase.org/download/CURRENT/hairpin.fa"
mirgenedb = false
mirgenedb_mature = null
mirgenedb_hairpin = null
Expand Down
6 changes: 3 additions & 3 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"mirna_gtf": {
"type": "string",
"description": "GFF/GTF file with coordinates positions of precursor and miRNAs.",
"help_text": "miRBase `.gff3` file, typically downloaded from [`https://mirbase.org/ftp/CURRENT/genomes/`](https://mirbase.org/ftp/CURRENT/genomes/)\n\nIf using iGenomes with `--genome` this file will be downloaded from miRBase automatically during the pipeline run.\n\n",
"help_text": "miRBase `.gff3` file, typically downloaded from [`https://mirbase.org/download/CURRENT/genomes/`](https://mirbase.org/download/CURRENT/genomes/)\n\nIf using iGenomes with `--genome` this file will be downloaded from miRBase automatically during the pipeline run.\n\n",
"fa_icon": "fas fa-address-book"
},
"mirgenedb_gff": {
Expand All @@ -100,7 +100,7 @@
"description": "Path to FASTA file with mature miRNAs.",
"fa_icon": "fas fa-wheelchair",
"help_text": "Typically this will be the `mature.fa` file from miRBase. Can be given either as a plain text `.fa` file or a compressed `.gz` file.\n\nDefaults to the current miRBase release URL, from which the file will be downloaded.",
"default": "https://mirbase.org/ftp/CURRENT/mature.fa.gz"
"default": "https://mirbase.org/download/CURRENT/mature.fa"
},
"mirgenedb_mature": {
"type": "string",
Expand All @@ -112,7 +112,7 @@
"description": "Path to FASTA file with miRNAs precursors.",
"fa_icon": "fab fa-cuttlefish",
"help_text": "Typically this will be the `mature.fa` file from miRBase. Can be given either as a plain text `.fa` file or a compressed `.gz` file.\n\nDefaults to the current miRBase release URL, from which the file will be downloaded.",
"default": "https://mirbase.org/ftp/CURRENT/hairpin.fa.gz"
"default": "https://mirbase.org/download/CURRENT/hairpin.fa"
},
"mirgenedb_hairpin": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion workflows/smrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (!params.mirtrace_species) {
}

// Genome options
def mirna_gtf_from_species = params.mirtrace_species ? "https://mirbase.org/ftp/CURRENT/genomes/${params.mirtrace_species}.gff3" : false
def mirna_gtf_from_species = params.mirtrace_species ? "https://mirbase.org/download/CURRENT/genomes/${params.mirtrace_species}.gff3" : false
def mirna_gtf = params.mirna_gtf ?: mirna_gtf_from_species

/*
Expand Down