thierrygosselin / radiator

RADseq Data Exploration, Manipulation and Visualization using R
https://thierrygosselin.github.io/radiator/
GNU General Public License v3.0
59 stars 23 forks source link

error using genomic_converter genlight to genepop #149

Closed pidita closed 2 years ago

pidita commented 2 years ago

Hello, I am trying to convert a genlight object (created using SambaR) to a genepop file, but I get an error. Below the script I am using and the error that I get.

Thanks in advance.

genomic_converter(mygenlight, output="genepop", filename="EM_gp") ################################################################################ ######################### radiator::genomic_converter ########################## ################################################################################ Execution date@time: 20211231@1321 Folder created: 01_radiator_genomic_converter_20211231@1321 Function call and arguments stored in: radiator_genomic_converter_args_20211231@1321.tsv Filters parameters file generated: filters_parameters_20211231@1321.tsv

Importing data: genlight Calibrating REF/ALT alleles... Calibrating REF/ALT alleles...

Writing tidy data set: EM_gp.rad

Preparing data for output

Data is bi-allelic Calibrating REF/ALT alleles... Error: Problem with mutate() column GT. i GT = stringi::stri_join(A1, A1). x objeto 'A1' no encontrado Run rlang::last_error() to see where the error occurred.

Computation time, overall: 3 sec

thierrygosselin commented 2 years ago

Hi

I cannot help you if I cannot reproduce the problem. Consequently, when reporting an issue, make sure to include:

Describe the bug

To Reproduce Include the steps to reproduce the behavior:

Screenshots

thierrygosselin commented 2 years ago

you might want to try adegenet for this in the meantime...

pidita commented 2 years ago

Hi,

Thanks for your response. I finally managed to create a genpop object using SambaR.