Skip to content

Commit

Permalink
Adding the need to remove duplicate loci in vcf in code 710 error mes…
Browse files Browse the repository at this point in the history
…sage
  • Loading branch information
jeffersonfparil authored May 16, 2024
1 parent 79b03af commit 673b094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl Count for GenotypesAndPhenotypes {
true => (),
false => return Err(ImputefError{
code: 710,
message: "The number of loci with coverage information and the total number of loci are incompatible. You may have duplicate loci in the input genotype file (vcf, sync, or txt). Please check the 'intercept_and_allele_frequencies' and 'coverages' fields of 'GenotypesAndPhenotypes' struct.".to_owned()
message: "The number of loci with coverage information and the total number of loci are incompatible. You may have duplicate loci in the input genotype file (vcf, sync, or txt). If your input data is in vcf format please make sure to remove duplicate loci resulting from multi-allelic loci where additional alternative alleles are located in subsequent adjacent rows. Please check the 'intercept_and_allele_frequencies' and 'coverages' fields of 'GenotypesAndPhenotypes' struct.".to_owned()
})
};
Ok((loci_idx, loci_chr, loci_pos))
Expand Down

0 comments on commit 673b094

Please sign in to comment.