openproblems-bio / openproblems

Formalizing and benchmarking open problems in single-cell genomics
MIT License
290 stars 77 forks source link

Convert references to bib #720

Closed scottgigante-immunai closed 1 year ago

scottgigante-immunai commented 1 year ago

This PR begins to convert paper references to bibtex.

~Not ready to be merged yet~, as we need to handle:

Tests passing at https://tower.nf/orgs/openproblems-bio/workspaces/openproblems-bio/watch/5RkdFp3K7yuQOi

scottgigante-immunai commented 1 year ago

First attempt is up and running.

Example behaviour: https://deploy-preview-64--openproblems-sca.netlify.app/bibliography/#stuart2019comprehensive takes us direct to the citation

Stuart, T., Butler, A., Hoffman, P., et al., "Comprehensive Integration of Single-Cell Data". Cell, vol. 177, no. 7, pp. 1888-1902.e21, 2019. doi:10.1016/j.cell.2019.05.031.

Open to thoughts, input on style, etc.

See https://github.com/openproblems-bio/website/pull/64

scottgigante-immunai commented 1 year ago

@rcannood @LuckyMD this is ready for review now

LuckyMD commented 1 year ago

I currently don't see how references are linked from the READMEs in the website. Whenever I click on a reference in a README it sends me to the paper link instead (i.e. BioRxiv or nature methods...)

scottgigante-immunai commented 1 year ago

I currently don't see how references are linked from the READMEs in the website. Whenever I click on a reference in a README it sends me to the paper link instead (i.e. BioRxiv or nature methods...)

Here is an example (in the batch integration README).

Note that I didn't update references in the API section of the READMEs as those don't ever make it to the website, but we could change those too if we think it appropriate / preferable.

codecov[bot] commented 1 year ago

Codecov Report

Base: 94.80% // Head: 94.79% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (5403ecc) compared to base (413aebd). Patch coverage: 97.10% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #720 +/- ## ========================================== - Coverage 94.80% 94.79% -0.02% ========================================== Files 155 155 Lines 4139 4166 +27 Branches 213 215 +2 ========================================== + Hits 3924 3949 +25 Misses 142 142 - Partials 73 75 +2 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `94.79% <97.10%> (-0.02%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio) | Coverage Δ | | |---|---|---| | [...oblems/data/Wagner\_2018\_zebrafish\_embryo\_CRISPR.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL2RhdGEvV2FnbmVyXzIwMThfemVicmFmaXNoX2VtYnJ5b19DUklTUFIucHk=) | `0.00% <ø> (ø)` | | | [openproblems/data/multimodal/citeseq.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL2RhdGEvbXVsdGltb2RhbC9jaXRlc2VxLnB5) | `100.00% <ø> (ø)` | | | [openproblems/data/tabula\_muris\_senis.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL2RhdGEvdGFidWxhX211cmlzX3NlbmlzLnB5) | `83.11% <ø> (ø)` | | | [...ration/batch\_integration\_embed/metrics/cc\_score.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL3Rhc2tzL19iYXRjaF9pbnRlZ3JhdGlvbi9iYXRjaF9pbnRlZ3JhdGlvbl9lbWJlZC9tZXRyaWNzL2NjX3Njb3JlLnB5) | `100.00% <ø> (ø)` | | | [...n/batch\_integration\_embed/metrics/iso\_label\_sil.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL3Rhc2tzL19iYXRjaF9pbnRlZ3JhdGlvbi9iYXRjaF9pbnRlZ3JhdGlvbl9lbWJlZC9tZXRyaWNzL2lzb19sYWJlbF9zaWwucHk=) | `100.00% <ø> (ø)` | | | [...ntegration/batch\_integration\_embed/metrics/kBET.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL3Rhc2tzL19iYXRjaF9pbnRlZ3JhdGlvbi9iYXRjaF9pbnRlZ3JhdGlvbl9lbWJlZC9tZXRyaWNzL2tCRVQucHk=) | `100.00% <ø> (ø)` | | | [...integration/batch\_integration\_embed/metrics/pcr.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL3Rhc2tzL19iYXRjaF9pbnRlZ3JhdGlvbi9iYXRjaF9pbnRlZ3JhdGlvbl9lbWJlZC9tZXRyaWNzL3Bjci5weQ==) | `100.00% <ø> (ø)` | | | [...ation/batch\_integration\_embed/metrics/sil\_batch.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL3Rhc2tzL19iYXRjaF9pbnRlZ3JhdGlvbi9iYXRjaF9pbnRlZ3JhdGlvbl9lbWJlZC9tZXRyaWNzL3NpbF9iYXRjaC5weQ==) | `100.00% <ø> (ø)` | | | [...tion/batch\_integration\_embed/metrics/silhouette.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL3Rhc2tzL19iYXRjaF9pbnRlZ3JhdGlvbi9iYXRjaF9pbnRlZ3JhdGlvbl9lbWJlZC9tZXRyaWNzL3NpbGhvdWV0dGUucHk=) | `100.00% <ø> (ø)` | | | [...tion/batch\_integration\_feature/methods/baseline.py](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio#diff-b3BlbnByb2JsZW1zL3Rhc2tzL19iYXRjaF9pbnRlZ3JhdGlvbi9iYXRjaF9pbnRlZ3JhdGlvbl9mZWF0dXJlL21ldGhvZHMvYmFzZWxpbmUucHk=) | `100.00% <ø> (ø)` | | | ... and [80 more](https://codecov.io/gh/openproblems-bio/openproblems/pull/720?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openproblems-bio)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.