Does anyone have a full command to build the refer...
# rnafusion
v
Does anyone have a full command to build the references using the current dev branch? The existing documentation appears to be out of date. Here is my command:
Copy code
nextflow run nf-core/rnafusion -r dev
--build_references
--cosmic_username myemail
--cosmic_passwd PASSWORD
--genomes_base /home/bioinformatics/genomes/GCF_000001405.40
--outdir /media/datastore/my_project/rnafusion/fusion_ref/
And here is the error:
Copy code
WARN: The following invalid input values have been detected:

* --build_references: true


ERROR ~ Validation of pipeline parameters failed!

 -- Check '.nextflow.log' file for details
The following invalid input values have been detected:

* Missing required parameter(s): tools
ö
something like this:
nextflow run nf-core/rnafusion \
-revision dev \
-latest \
-resume \
-profile docker \
--tools all \
--references_only \
--cosmic_username 'email' --cosmic_passwd 'pass' \
--genomes_base '/data/rnafusion_ref' \
--outdir '/data/nextflow/rnafusion/results/' \
-work-dir '/data/nextflow/rnafusion/work/' \
-c 'custom_local.config'
v
I get
Command line options
-latest` and
-offline
cannot be specified at the same time` which makes sense. However, I did not specify
offline
, so it must be implied by another command. I removed
latest
, and got this:
Copy code
ERROR ~ Error executing process > 'RNAFUSION:BUILD_REFERENCES:FUSIONCATCHER_DOWNLOAD (fusioncatcher_download)'

Caused by:
executor >  local (4)
[70/5814b7] RNAFUSION:BUILD_REFERENCES:GENCODE_DOWNLOAD (gencode_download)             [  0%] 0 of 1
[-        ] RNAFUSION:BUILD_REFERENCES:SAMTOOLS_FAIDX                                  -
[d5/f068fd] RNAFUSION:BUILD_REFERENCES:HGNC_DOWNLOAD (hgnc)                            [100%] 1 of 1 ✔
[-        ] RNAFUSION:BUILD_REFERENCES:GATK4_CREATESEQUENCEDICTIONARY                  -
[-        ] RNAFUSION:BUILD_REFERENCES:GET_RRNA_TRANSCRIPTS                            -
[-        ] RNAFUSION:BUILD_REFERENCES:GATK4_BEDTOINTERVALLIST                         -
[-        ] RNAFUSION:BUILD_REFERENCES:GTF_TO_REFFLAT                                  -
[-        ] RNAFUSION:BUILD_REFERENCES:GFFREAD                                         -
[-        ] RNAFUSION:BUILD_REFERENCES:SALMON_INDEX                                    -
[-        ] RNAFUSION:BUILD_REFERENCES:STAR_GENOMEGENERATE                             -
[de/24c290] RNAFUSION:BUILD_REFERENCES:FUSIONCATCHER_DOWNLOAD (fusioncatcher_download) [100%] 1 of 1, failed: 1 ✘
[-        ] RNAFUSION:BUILD_REFERENCES:STARFUSION_BUILD                                -
[-        ] RNAFUSION:BUILD_REFERENCES:CTATSPLICING_PREPGENOMELIB                      -
[a0/b2ed75] RNAFUSION:BUILD_REFERENCES:FUSIONREPORT_DOWNLOAD (fusionreport)            [100%] 1 of 1 ✔
Execution cancelled -- Finishing pending tasks before exit
ERROR ~ Error executing process > 'RNAFUSION:BUILD_REFERENCES:FUSIONCATCHER_DOWNLOAD (fusioncatcher_download)'

Caused by:
  Process `RNAFUSION:BUILD_REFERENCES:FUSIONCATCHER_DOWNLOAD (fusioncatcher_download)` terminated with an error exit status (8)


Command executed:

  wget --no-check-certificate  https://master.dl.sourceforge.net/project/rnafusion/fusioncatcher/human_v46.tar.gz.partaa
  wget --no-check-certificate  https://master.dl.sourceforge.net/project/rnafusion/fusioncatcher/human_v46.tar.gz.partab
  wget --no-check-certificate  https://master.dl.sourceforge.net/project/rnafusion/fusioncatcher/human_v46.tar.gz.partac
  cat human_v46.tar.gz.* | tar xz
  rm human_v46.tar*

  cat <<-END_VERSIONS > versions.yml
  "RNAFUSION:BUILD_REFERENCES:FUSIONCATCHER_DOWNLOAD":
      wget: $(wget --version | head -1 | cut -d ' ' -f 3)
      tar: $(tar --version | head -1 | sed -e 's/tar (GNU tar) //')
  END_VERSIONS

Command exit status:
  8

Command output:
  (empty)

Command error:
  --2025-08-20 06:56:42--  https://master.dl.sourceforge.net/project/rnafusion/fusioncatcher/human_v46.tar.gz.partaa
  Resolving master.dl.sourceforge.net (master.dl.sourceforge.net)... 216.105.38.12
  Connecting to master.dl.sourceforge.net (master.dl.sourceforge.net)|216.105.38.12|:443... connected.
  HTTP request sent, awaiting response... 301 Moved Permanently
  Location: https://downloads.sourceforge.net/project/rnafusion/fusioncatcher/human_v46.tar.gz.partaa [following]
  --2025-08-20 06:56:43--  https://downloads.sourceforge.net/project/rnafusion/fusioncatcher/human_v46.tar.gz.partaa
  Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 104.18.12.149, 104.18.13.149, 2606:4700::6812:d95, ...
  Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|104.18.12.149|:443... connected.
  HTTP request sent, awaiting response... 404 Not Found
  2025-08-20 06:56:44 ERROR 404: Not Found.

Work dir:
  /media/datastore/BCF0124-Torgunrud/rnafusion/work/de/24c2907540ff62517b6c7b77fb062b

Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`

 -- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '.nextflow.log' file for details
-[nf-core/rnafusion] Pipeline completed with errors-
n
A docs update is also in the works (and almost finished), you can see the updated version here: https://github.com/nvnieuwk/nf-core-rnafusion/tree/update/docs/docs
👍 1
The error is a known error where we sadly can't do much about since it depends on external links 😕 however, you can download the references now from the nf-core s3 bucket using this command:
Copy code
aws --no-sign-request s3 sync s3://nf-core-awsmegatests/rnafusion/references/ <path_to_references>
👀 1
v
So then once I have downloaded the references, I will need to rerun the
nextflow run nf-core/rnafusion \.....
command so it downloads the cosmic database, correct?
n
Yes indeed, you can find instructions here for that: https://github.com/nvnieuwk/nf-core-rnafusion/blob/update/docs/docs/usage.md#download-and-build-references let me know if something is not clear since these are new docs 😛
v
Thanks. I'll let you know.
🎉 1
Following the instructions, I tried rerunning the command, and specified the local database I downloaded from s3. But it still tried to download fusioncatcher from sourceforge and failed in the same manner as before.
rnafusion_databases/
is in the current directory
Copy code
nextflow run nf-core/rnafusion -revision dev  -resume -profile docker --tools all --references_only --cosmic_username 'muemail' --cosmic_passwd 'password.' --genomes_base 'rnafusion_databases/' --outdir '/media/datastore/myproject/rnafusion/results/' -work-dir '/media/datastore/myproject/rnafusion/work/' --qiagen
n
Hmm @Annick Renevey do you have an idea what could be done here?
v
Any hope?
a
Hi, I am just back from holidays and catching up. Are the paths from downloaded fusioncatcher matching the ones used in the pipeline?
I think the most likely cause is a mismatch there
v
HOw can I check what the pipeline is expecting for the path? I specify the path as a param
rnafusion_databases/
, but that directory has many subdirs, so maybe it needs to be more specific?
a
I will come back to you with the list later today, but you can check that the parameter for fusioncatcher_ref is the correct path to human_46