year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)

bibentry(
  bibtype = "Article",
  author = c(
    person("Mathieu", "Gautier"),
    person("Renaud", "Vitalis")
  ),
  title = "rehh: An R package to detect footprints of selection in genome-wide SNP data from haplotype structure",
  journal = "Bioinformatics",
  year = "2012",
  volume = "28",
  number = "8",
  pages = "1176-1177"
)

bibentry(
  bibtype = "Article",
  author = c(
    person("Mathieu", "Gautier"),
    person("Alexander", "Klassmann"),
    person("Renaud", "Vitalis")
  ),
  title = "rehh 2.0: a reimplementation of the R package rehh to detect positive selection from haplotype structure",
  journal = "Molecular Ecology Resources",
  year = "2017",
  volume = "17",
  number = "1",
  pages = "78-90"
)

