guokai8 / CandiHap

Build haplotye and generate figures
GNU General Public License v3.0
17 stars 6 forks source link

Error when running snp2hap function S4Vectors:::normarg_names(value, class(x), length(x)): attempt to set too many names (242) on GroupedIRanges object of length 241 #7

Open isunshine-cc opened 3 months ago

isunshine-cc commented 3 months ago

Error in S4Vectors:::normarg_names(value, class(x), length(x)): attempt to set too many names (242) on GroupedIRanges object of length 241 I try many ways to solve it, such as the trait sample name is consistent with vcf name;and one step by step running the code,when I run ss <- bplapply(sequence, function(x)as.DNAbin(muscle(x, quiet =TRUE)),BPPARAM=BPPARAM), it will happen this error.Can you help me to solve this problem

guokai8 commented 3 months ago

Hi @isunshine-cc, Please provide the details of the error. K