Skip to content

Commit 06675fc

Browse files
Allow duplicates for multiallellic sites
1 parent c1b97fe commit 06675fc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ dev/
3131
# My personal trash file
3232
sandbox.jl
3333

34+
# MY (Joshua) personal trash file
35+
test/data/scratch/string_encodings.jl
36+
3437
# Jupyter
3538
*checkpoints
3639
src/generate_results.jl

src/inputs_from_config.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function convert_string(snpdata)
219219
mapped_col = map(value -> map_allele(value, allele1, allele2), allele_col)
220220
push!(genotypes_data, mapped_col)
221221
end
222-
return DataFrame(genotypes_data, snpdata.snp_info."snpid")
222+
return DataFrame(genotypes_data, snpdata.snp_info."snpid", makeunique=true)
223223
end
224224

225225
function get_genotypes_from_beds(bedprefix)

0 commit comments

Comments
 (0)