tools
tools copied to clipboard
Add citation information following the citation file format
Here at BOSC CodeFest, we got encouraged to use the human and machine-readable citation file format CFF
, which provides citation metadata for software.
Please have a look at the current specification of CFF.
I want to bring this up here, so we can discuss if we want to incorporate this in our tools and pipeline repositories.
I know that @mkuzak and others are working on a Zotero browser plugin that reads CFF files to add it automatically in the bibliography. Changes are, that for other reference managers this will be possible too.
What do you think?
Sounds good! How does this compare to .bib
bibTex files? Those have been around forever and are supported everywhere.
Should probably be implemented as part of https://github.com/nf-core/tools/issues/236 - that one started to get a bit complicated and stalled..
I think the bibTex specification does not cover software as a native entry type: https://en.wikipedia.org/wiki/BibTeX#Entry_types
If you have a look at the current CFF core specification, it is targeted for software. Entries like:
- license
- copyright
- repository
- repository-code
- repository-artifact
- software-container
- orcid
- ....
are some i just cherry-picked which I found super useful. You can even reference a git commit hash!
Nice! π
Should be easy enough to cover both, no?
Have you guys checked the CSL style out: https://citationstyles.org/developers/
Used it for Manubot: https://github.com/manubot/manubot
@vsmalladi if I understand correctly, CSL is another way to add citation information in a machine-readable way, it deas not address software citation per se. Is that correct?
Yes that is correct. Itβs a option so that we can store citation and export to journal specific format
Alternative option is codemeta, it has a lot of crosswalks to other systems
GitHub now has native support for this file type: https://twitter.com/natfriedman/status/1420122675813441540?s=21
Only issue is that with the GitHub native support it doesn't allow display/citation information for an actual publication - it only ever displays 'repository metadata'. This maybe an issue for pipelines that have been published
Only issue is that with the GitHub native support it doesn't allow display/citation information for an actual publication - it only ever displays 'repository metadata'. This maybe an issue for pipelines that have been published
FWIW, the GitHub feature was shipped very quickly, and the new CFF version (1.2.0) that we're currently in the process of finalizing will have a preferred-citation
field for publications that aren't software publications (papers, etc.), so that you will be able to reference "actual publications".
Having said that, please note that good practice as laid out in the software citation principles includes that you should also cite the software itself, and you can provide metadata for software publications (e.g., on Zenodo with a DOI) in CFF, that's what it was created for :slightly_smiling_face:.
https://www.softwareheritage.org/2020/05/26/citing-software-with-style/ is working on software citation for bibtex
https://www.softwareheritage.org/2020/05/26/citing-software-with-style/ is working on software citation for bibtex
In a way. They've created a package for biblatex that can take care of different "slices" of software output to style them. They are also working on supporting CFF in the future: https://forge.softwareheritage.org/T3078.
This should be ready to implement now. Both in the template (for all pipelines) and also in the core repos (tools, website, modules etc).
Example CFF files with syntax for specific publications here: https://github.com/ewels/MultiQC/blob/master/CITATION.cff
Publication that we want to cite: https://www.nature.com/articles/s41587-020-0439-x
Closing due to merge of #1663.
Great! You did it in the root of tools but it should also be in the root of the pipeline template :)
Also nf-core/modules, nf-co.re and any other active core repos.
Ok, I'll create a few more PRs then :)
And I did my π€ duty there too π βπ» but with proper reviews!
Thanks @apeltzer! There are two more to be merged before we are done though: https://github.com/nf-core/configs/pull/397 and https://github.com/nf-core/test-datasets/pull/569