Skip to content

Commit

Permalink
Mirbase has changed their URL structure, so we need to update the URLs
Browse files Browse the repository at this point in the history
in the configuration files and docs.

Signed-off-by: Rob Syme <rob.syme@gmail.com>
  • Loading branch information
robsyme committed Aug 23, 2023
1 parent 0bcf723 commit 7ea85c4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
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

0 comments on commit 7ea85c4

Please sign in to comment.