diff options
author | Muriithi Frederick Muriuki | 2021-08-30 11:42:33 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-08-30 11:42:33 +0300 |
commit | 89d448585589d9912ac974b6e4645b47e365bf1c (patch) | |
tree | 57599ef2df6d45ccc195ce1cf7a1279d23aa468f /topics/gn1-migration-to-gn2/clustering.gmi | |
parent | 6c12c41bb95f4c8ab7feeee5c6cbf5c7ea79349e (diff) | |
download | gn-gemtext-89d448585589d9912ac974b6e4645b47e365bf1c.tar.gz |
Update with progress and notes
* Update issue with notes on traits file and strains in genotype file
* Add notes on required TODOs
Diffstat (limited to 'topics/gn1-migration-to-gn2/clustering.gmi')
-rw-r--r-- | topics/gn1-migration-to-gn2/clustering.gmi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/topics/gn1-migration-to-gn2/clustering.gmi b/topics/gn1-migration-to-gn2/clustering.gmi index a2a7eb1..363b4bc 100644 --- a/topics/gn1-migration-to-gn2/clustering.gmi +++ b/topics/gn1-migration-to-gn2/clustering.gmi @@ -285,3 +285,11 @@ it seems like the groups correspond to the ~riset~ field in GN3, since they shar I might need to figure out how the traits correspond to a species. For the time being, however, I make the assumption that the ~riset~ field for all the traits is the same value, and use that to get the genotype file for use in computation of the QTL values with /rust-qtlreaper/. + +### 11:37 + +The traits files should only contain the strains that can be found in the corresponding genotype file used for computation of the QTLs. If the trait file contains strains not present in the genotype file, then /rust-qtlreaper/ panics and fails. + +I should also look into reworking ~gn3.computations.export_trait_data~ function, so that each value is linked to the strain that it corresponds to, so that we do not rely on numerical order. This should help reduce chances of bugs where the strains and the values are not in the same order. + +I also need to figure out how the strains in the genotype are passed around in GN1. I have mostly ignored that since in GN1, those details were passed around in a class object. |