NBISweden / pipelines-nextflow

A set of workflows written in Nextflow for Genome Annotation.
GNU General Public License v3.0
42 stars 18 forks source link

Pb with running busco with AnnotationPreprocessing and Singularity #28

Closed LucileSol closed 4 years ago

LucileSol commented 4 years ago

I tried to run the pipeline AnnotationPreprocessing with Singularity like this :

nextflow run -c params.config -profile nbis,singularity ~/git/NBIS/pipelines-nextflow/AnnotationPreprocessing/AnnotationPreprocessing.nf

my params.config :

// Workflow parameters
params.genome = 'cns_p_ctg_mod_lr_pilon_x3_mtmask.fasta'
params.outdir = 'results'
params.min_length = 1000
// Use `busco --list-datasets` for full list of available lineage sets
params.busco_lineage = [ 'arachnida_odb10', 'bacteria_odb10' ]

My busco folders are created and empty

and in .command.log I get :

nxf-scratch-dir node-a02:/scratch/nxf.ggWYtc0RKT
ESC[33mWARNING:ESC[0m Skipping mount /sw/easybuild/software/Singularity/3.5.2/var/singularity/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container
INFO:   ***** Start a BUSCO v4.0.2 analysis, current time: 05/13/2020 11:37:07 *****
INFO:   Configuring BUSCO with /usr/local/config/config.ini
INFO:   Mode is genome
INFO:   Input file is cns_p_ctg_mod_lr_pilon_x3_mtmask_purified.fa
INFO:   Downloading information on latest versions of BUSCO data...
CRITICAL:       Unhandled exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/busco/run_BUSCO.py", line 167, in run_BUSCO
    config_manager.load_busco_config(sys.argv)
  File "/usr/local/lib/python3.7/site-packages/busco/BuscoLogger.py", line 55, in wrapped_func
    self.retval = func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/busco/ConfigManager.py", line 46, in load_busco_config
    self.config.validate()
  File "/usr/local/lib/python3.7/site-packages/busco/BuscoConfig.py", line 243, in validate
    self._init_downloader()
  File "/usr/local/lib/python3.7/site-packages/busco/BuscoConfig.py", line 49, in _init_downloader
    self.downloader = BuscoDownloadManager(self)
  File "/usr/local/lib/python3.7/site-packages/busco/BuscoDownloadManager.py", line 49, in __init__
    self._load_versions()
  File "/usr/local/lib/python3.7/site-packages/busco/BuscoDownloadManager.py", line 58, in _load_versions
    with open(versions_file, "r") as v_file:
FileNotFoundError: [Errno 2] No such file or directory: '/scratch/nxf.ggWYtc0RKT/busco_downloads/file_versions.tsv'
mahesh-panchal commented 4 years ago

[Update] Grr, this one has lots of issues.

mahesh-panchal commented 4 years ago

Testing the Busco developers own images before writing my own .. https://hub.docker.com/r/ezlabgva/busco/tags