sgkit-dev / sgkit-plink

NOW ARCHIVED! PLINK IO implementations for sgkit. With https://github.com/pystatgen/sgkit/issues/65, now maintained and developed in the sgkit repo.
Apache License 2.0
0 stars 4 forks source link

Document data generation for unit test #29

Open eric-czech opened 4 years ago

eric-czech commented 4 years ago

See: https://github.com/pystatgen/sgkit-plink/pull/20#discussion_r466907811

Much like https://github.com/pystatgen/sgkit/pull/66 and https://github.com/pystatgen/sgkit/pull/76, the current pysnptools unit test uses randomly generated data from external software (Hail). This is in a validation folder within sgkit, so it may make sense to start doing the same thing in satellite repos, but it will lessen the burden for it if we wait until the multi-repo decision is final (https://github.com/pystatgen/sgkit/issues/65).

In any case, the code that generated the test data should moved somewhere central and documented. It lives here now: https://github.com/eric-czech/sgkit-dev/tree/master/io/plink