PeanutBase / jekyll-peanutbase

A "starter" Jekyll site that uses the jekyll-theme-legumeinfo submodule
Apache License 2.0
0 stars 0 forks source link

Marker-Assisted Selection page #27

Open svengato opened 1 year ago

svengato commented 1 year ago

Marker-Assisted Selection https://dev.peanutbase.org/mas

Issues:

  1. Trait pages: work in progress. I am thinking about whether these should go in a template, the trait managers could add information to a YAML file or something.
  2. Still lots of peanutbase.org links.
  3. Should the PDF files go in the repository?
svengato commented 1 year ago

Trait pages: work in progress. I am thinking about whether these should go in a template, the trait managers could add information to a YAML file or something.

Current status: After adding the jekyll-datapage-generator plugin to the site's Gemfile, and also in the plugins list in _config.yml, the (HTML formatted) content for each file goes in _data/mas_traits.yml, and the file template is _layouts/mas_traits.html. This generates a page for each trait listed in _data/mas_traits.yml. The pages are not created as files in mas/, instead they live in _site/mas/, so whenever you make changes to any of the above files, you have to rebuild the Jekyll site which regenerates the pages.

For more information about the plugin, see https://github.com/avillafiorita/jekyll-datapage_gen

svengato commented 1 year ago

Both the Markers and Genotypes table formats vary a bit between (old) trait pages, for example a set of related markers can go in a single table. I am thinking about how to generalize the formats.

svengato commented 1 year ago

In the Markers table, which should go first: "Size (bp) in susceptible or resistant lines"?

svengato commented 1 year ago

Peanut root-knot nematode page: link to oziasakinslab.org is broken.

svengato commented 1 year ago

In the Genotypes table, is "aAllele" a typo for "Allele"?

svengato commented 1 year ago

In the Markers table, which should go first: "Size (bp) in susceptible or resistant lines"?

I ask because in the current site, either one may be first depending on the trait. But I think susceptible should go first because allele A signifies that the genotype is susceptible to the trait, and allele B means it is resistant.

svengato commented 1 year ago

I moved the PDF files to falafel.

svengato commented 1 year ago

PDF files are in files/mas/pdf, and image files are in files/mas/pics.

svengato commented 1 year ago

Initial commit: f9579af.

Known issues: