Skip to content

Commit

Permalink
Merge pull request #88 from gymrek-lab/mlamkin7-patch-1
Browse files Browse the repository at this point in the history
Update sim_genotype.py
  • Loading branch information
mlamkin7 authored Aug 24, 2022
2 parents c9c49f7 + bf66cfa commit 05fcce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haptools/sim_genotype.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,10 @@ def _simulate(samples, pops, pop_fracs, pop_gen, chroms, coords, end_coords, rec
chroms: list(str)
sorted list of chromosomes used to generate samples.
coords: list(list(GeneticMarker))
Each list of markers corresponds to a chromosome in chroms.
Each list of markers (cM) corresponds to a chromosome in chroms.
ie if our list of chroms is [3,4,6] then the first list is to chrom 3, second to 4, etc.
end_coords: list(GeneticMarker)
List of the last genetic markers for each chromosome specified in chroms.
List of the last genetic markers (cM) for each chromosome specified in chroms.
The indices of the list correspond to those in chroms.
recomb_probs: Numpy 2d array
rows = chroms
Expand Down

0 comments on commit 05fcce1

Please sign in to comment.