Skip to content

Commit

Permalink
bioinformatics: use subject_section in header (#415)
Browse files Browse the repository at this point in the history
* use subject_section in header fixes #414
* separate manuscript_type and subject_section #414 #415
* update NEWS.md to mention manuscript_type and subject_section in template and skeleton
* avoids breaking change by making manuscript_type fallback to subject_section as default if not entered

Co-authored-by: Christophe Dervieux <christophe.dervieux@gmail.com>
  • Loading branch information
stephenturner and cderv authored Jun 29, 2021
1 parent 0a1ffa0 commit 1d26f7d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ rticles 0.21
---------------------------------------------------------------------

- `bioinformatics_article()` has no more trailing comma after last author (thanks, @stephenturner, #413).
- `bioinformatics_article()` now separates `manuscript_type` (e.g., Applications note, Original article) and `subject_section` (e.g. Genome analysis, Phylogenetics) in template and skeleton (thanks, @stephenturner, #415)

rticles 0.20
---------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
% \usepackage[colorlinks=true, allcolors=blue]{hyperref}

\access{Advance Access Publication Date: $access_date.day$ $access_date.month$ $access_date.year$}
\appnotes{Manuscript Category}
\appnotes{$if(manuscript_type)$$manuscript_type$$else$$subject_section$$endif$}

\begin{document}
\firstpage{1}
Expand Down
18 changes: 16 additions & 2 deletions inst/rmarkdown/templates/bioinformatics/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@
title_full: Template for preparing a submission to Bioinformatics using RMarkdown
title_short: Bioinformatics Rmd Template

# one of `Original Paper`, `Discovery Note`, `Application Note`, `Review`, `Letter to the Editor`, `Conference Paper`
subject_section: Application Note
# One of the following below. See https://academic.oup.com/bioinformatics/pages/instructions_for_authors#Types%20of%20Manuscript
# one of `Original Paper`, `Discovery Note`, `Applications Note`, `Review`, `Letter to the Editor`, `Conference Paper`
manuscript_type: Application Note

# One of the following below. See https://academic.oup.com/bioinformatics/pages/instructions_for_authors#Detailed%20Scope%20Guidelines
# Genome analysis
# Sequence analysis
# Phylogenetics
# Structural bioinformatics
# Gene expression
# Genetic and population analysis
# Systems biology
# Data and text mining
# Databases and ontologies
# Bioimage informatics
subject_section: Genome analysis

access_date:
- day: DD
Expand Down

0 comments on commit 1d26f7d

Please sign in to comment.