-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CITATION file #242
Add CITATION file #242
Conversation
|
Codecov Report
@@ Coverage Diff @@
## main #242 +/- ##
==========================================
- Coverage 27.61% 27.31% -0.30%
==========================================
Files 45 45
Lines 5334 5334
==========================================
- Hits 1473 1457 -16
- Misses 3861 3877 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple things:
You made a PR against the main
branch, so you'll want to go back and make a PR against the dev
branch
.cff
is a type of yaml
file so it's sensitive to indentation (which made it really difficult to use the suggestions through github's review system)
I'll add some comments to the file you added in a second, but you'll want to make the indentation match how it is below (also changed a field). I don't think what you did was incorrect for the format, but using as below makes sure it is displayed by GitHub correctly (I tested it on a personal repository of mine)
Also, the...
title: Autometa
authors:
- family-names: Kwan
given-names: Jason C.
part can be deleted (otherwise it would be a running tab of contributors and software release info like:
https://github.com/github/docs/blob/277d335aebeb703cdbe979916ad815e7967e129c/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files.md?plain=1#L93-L105
cff-version: 1.2.0
message: 'If you use this software, please cite it as below.'
preferred-citation:
type: article
authors:
- given-names: Ian J.
family-names: Miller
- given-names: Evan R.
family-names: Rees
- given-names: Jennifer
family-names: Ross
- given-names: Izaak
family-names: Miller
- given-names: Jared
family-names: Baxa
- given-names: Juan
family-names: Lopera
- given-names: Robert L.
family-names: Kerby
- given-names: Federico E.
family-names: Rey
- given-names: Jason C.
family-names: Kwan
orcid: 'https://orcid.org/0000-0001-9933-1536'
title: 'Autometa: automated extraction of microbial genomes from individual shotgun metagenomes'
year: 2019
journal: Nucleic Acids Research
volume: 47
issue: 10
url: 'https://github.com/KwanLab/Autometa'
doi: 10.1093/nar/gkz148
happy to make the branch change.
^^ this needed to be included. At least through the context of validating the .cff with cffconvert. I originally did not have it but the validation required a title and author field in the first indentation. Maybe I can look into validating it on my personal github and/or look into a different validation package (i see there is at least one other). I can make the changes you suggested, thanks |
@chasemc @WiscEvan |
Looks good, I checked it in another repo and it shows the citation as the v1 manuscript |
@WiscEvan I don't get why codecov is picking up on an unchanged file? |
I'm not sure why codecov is picking this up. It has shown some odd behavior in the past 🤷 |
PR checklist
nf-core lint .
).nextflow run . -profile test,docker
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).