Skip to content

Commit

Permalink
Update readgenotypes.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
reworkhow authored Mar 27, 2024
1 parent 97b6157 commit e7af9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/1.JWAS/src/markers/readgenotypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function get_genotypes(file::Union{AbstractString,Array{Float64,2},Array{Float32
#read a large genotype file
data = CSV.read(file,DataFrame,types=etv,delim = separator,header=false,skipto=(header==true ? 2 : 1))
obsID = map(string,data[!,1])
genotypes = map(data_type, Matrix(file[!,2:end]))
genotypes = map(data_type, Matrix(data[!,2:end]))
#clean memory
#data = nothing
#GC.gc()
Expand Down

0 comments on commit e7af9ae

Please sign in to comment.