nf-core / scrnaseq

A single-cell RNAseq pipeline for 10X genomics data
https://nf-co.re/scrnaseq
MIT License
214 stars 172 forks source link

--fasta and --gtf not recognised #172

Closed birgitritschka closed 2 years ago

birgitritschka commented 2 years ago

Description of the bug

Trying to run scRNAseq on an HPC with --fasta and --gtf, keep getting error :

Unknown option: -—fasta -- Check the available commands and options and syntax with 'help'

I have tried putting the nextflow options at the beginning or end, but always it cannot find --fasta or --gtf.

Am I doing something silly here? Are there any obvious ways to debug what I'm doing wrong

Command used and terminal output

nextflow run main.nf --outdir 'Test_birgit_out' --input 'Samplesheet.csv' -—fasta '/scratch-cbe/users/birgit.ritschka/Nextflow_scRNA-Seq/XENLA_10.1_genome.fna.gz' -—gtf '/scratch-cbe/users/birgit.ritschka/Nextflow_scRNA-Seq/XENLA_10.1_GCF_XBmodels.gff3.gz' --aligner 'cellranger' --protocol ’10XV2’ -bg -profile cbe

[birgit.ritschka@clip-login-1 Nextflow_scRNA-Seq_Run2]$ Unknown option: -—fasta -- Check the available commands and options and syntax with 'help'


### Relevant files

_No response_

### System information

Nextflow Version: 22.10.0 build 5826
  Created: 13-10-2022 05:44 UTC (07:44 CEST)
  System: Linux 3.10.0-1160.62.1.el7.x86_64
  Runtime: Groovy 3.0.13 on OpenJDK 64-Bit Server VM 11.0.2+9
  Encoding: UTF-8 (UTF-8)

  HPC/Slurm
Singularity
Linux
nfcore scrnaseq 2.1.0
fmalmeida commented 2 years ago

Hello @birgitritschka, From the copy paste and the console messages, it seems that the -- dashes were not rendering the command line when you copied.

Check the available commands and options and syntax with 'help' --> you can see that the tool tried to use it as NF param and not a pipeline param.

Your --fasta looks like -—.

Can you try running again but, that time, deleting and manually typing again the dashes?

Just to see whether this is the case. And, if not, we can try to figure it out.

birgitritschka commented 2 years ago

Thanks so much, I did not notice that at all.

I thought I had copy pasted the command into the terminal correctly, not sure where the long hashes came from