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
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
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