metaGmetapop / metapop

A pipeline for the macro- and micro-diversity analyses and visualization of metagenomic-derived populations
MIT License
38 stars 10 forks source link

Error while Refining SNVs into SNPs step #22

Open ShailNair opened 1 year ago

ShailNair commented 1 year ago

Hi, thanks for the great tool. When running metapop-1.0, I encounter the following error:

Rscript MetaPop.R -dir 0.9.microdiversity/0.1.metapop/0.1.bam/ \
-assem ttk3610.cleaned.fasta \
-ct 0.9.microdiversity/0.1.metapop/0.1.bam/read.count.tsv \
--genes ttk3610.cleaned.genes.fa \
--output 0.9.microdiversity/0.1.metapop/ \
--snp_scale both \
--threads 50

.........................
Refining SNVs into SNPs... Error in { :
  task 1 failed - "`replacement` must be a character vector, not `NULL`."
Calls: metapop_call_snps -> %dopar% -> <Anonymous>

any solution for this?

eco-gaoshaom commented 1 year ago

Hi~ Did you solved this? I came across the same problem.

eco-gaoshaom commented 1 year ago

Solved. Just remove the invalid option -- 'I' in 'MetaPop.R'.