Skip to content
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

[REVIEW]: Phylen: automatic phylogenetic reconstruction using the EggNOG database #593

Closed
54 tasks done
whedon opened this issue Feb 22, 2018 · 62 comments
Closed
54 tasks done
Assignees
Labels
accepted published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review

Comments

@whedon
Copy link

whedon commented Feb 22, 2018

Submitting author: @giraola (Gregorio Iraola)
Repository: https://github.com/iferres/phylen
Version: v0.1.0
Editor: @Kevin-Mattheus-Moerman
Reviewer: @juanvillada
Archive: 10.6084/m9.figshare.6223538.v1

Status

status

Status badge code:

HTML: <a href="http://joss.theoj.org/papers/aeedb5e6a0e6d0cd88ec273eb50e1254"><img src="http://joss.theoj.org/papers/aeedb5e6a0e6d0cd88ec273eb50e1254/status.svg"></a>
Markdown: [![status](http://joss.theoj.org/papers/aeedb5e6a0e6d0cd88ec273eb50e1254/status.svg)](http://joss.theoj.org/papers/aeedb5e6a0e6d0cd88ec273eb50e1254)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions


REVIEWER 1

@juanvillada, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @Kevin-Mattheus-Moerman know.

Conflict of interest

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Version: Does the release version given match the GitHub release (v0.1.0)?
  • Authorship: Has the submitting author (@giraola) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Authors: Does the paper.md file include a list of authors with their affiliations?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?

REVIEWER 2

@kortschak, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @Kevin-Mattheus-Moerman know.

Conflict of interest

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Version: Does the release version given match the GitHub release (v0.1.0)?
  • Authorship: Has the submitting author (@giraola) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Authors: Does the paper.md file include a list of authors with their affiliations?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?

REVIEWER 3

@KlausVigo, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @Kevin-Mattheus-Moerman know.

Conflict of interest

Code of Conduct

General checks

  • Repository: Is the source code for this software available at the repository url?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Version: Does the release version given match the GitHub release (v0.1.0)?
  • Authorship: Has the submitting author (@giraola) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • Authors: Does the paper.md file include a list of authors with their affiliations?
  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?
@whedon
Copy link
Author

whedon commented Feb 22, 2018

Hello human, I'm @whedon. I'm here to help you with some common editorial tasks. @juanvillada it looks like you're currently assigned as the reviewer for this paper 🎉.

⭐ Important ⭐

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands

@whedon
Copy link
Author

whedon commented Feb 22, 2018

Attempting PDF compilation. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented Feb 22, 2018

@Kevin-Mattheus-Moerman
Copy link
Member

@giraola @iferres can you comment on testing your code or point @kortschak to a "test suite"?

@iferres
Copy link

iferres commented Feb 22, 2018

Thanks @Kevin-Mattheus-Moerman. @kortschak Thanks for your comment. I'm preparing a real case example to improve the README.md, I will add some data to the repo so it can be tested.

@giraola
Copy link

giraola commented Feb 22, 2018

Hi @kortschak, @Kevin-Mattheus-Moerman and @juanvillada, thanks for accepting the revision of our manuscript. Following your recommendations we want to include a full test situation, however we think it has no sense to upload the full genomes into the repo (genomes are also public), so do you think pointing to a download link for the test data would be ok?

@iferres
Copy link

iferres commented Feb 22, 2018

@kortschak Please check the repo new README.md file. I have also attached example data, so you may have to re install the package.

@Kevin-Mattheus-Moerman
Copy link
Member

@KlausVigo I've just added a tickbox set for you as well

@Kevin-Mattheus-Moerman
Copy link
Member

@whedon assign @kortschak as reviewer

@whedon
Copy link
Author

whedon commented Feb 22, 2018

OK, the reviewer is @kortschak

@Kevin-Mattheus-Moerman
Copy link
Member

@whedon assign @KlausVigo as reviewer

@whedon
Copy link
Author

whedon commented Feb 22, 2018

OK, the reviewer is @KlausVigo

@Kevin-Mattheus-Moerman
Copy link
Member

@whedon assign @juanvillada as reviewer

@whedon
Copy link
Author

whedon commented Feb 22, 2018

OK, the reviewer is @juanvillada

@Kevin-Mattheus-Moerman
Copy link
Member

@juanvillada (reviewer 1) @kortschak (reviewer 2) @KlausVigo (reviewer 3) we are good to go for the review process. Let me know if you are not able to tick the boxes at the top of this issue (be sure to accept this invite: https://github.com/openjournals/joss-reviews/invitations).
If you have questions just ping me or check out the reviewer guidelines. THANKS! 🎉

@kortschak
Copy link

@giraola Thank you for making a start on testing. I think that in the context of this tool integration testing is going to be very useful from a number of perspectives: 1) making people trust that the software behaves as advertised, 2) guards against regressions and 3) provides an idiomatic recipe for users to work from, so yes, I think that it should be OK to run a test on downloaded data (it might be worth letting the package do the download and cache it for convenience and efficiency), but I think that a smaller test set that is packaged with the code is also important. Extending this, while I can see that much of the code here is glue and doesn't lend itself well to unit testing, there are functions where that is easy to do, and adding unit tests will help you maintain to code in the future, so I'd suggest adding unit tests for most of the functions in gff3_Handling.R and some of the functions in utils.R.

Hadley Wickham has a nice package for testing that many people recommend: https://github.com/r-lib/testthat.

@giraola
Copy link

giraola commented Feb 23, 2018

@kortschak thank you for these suggestions. We are exploring testthat to add unit tests to the main functions of phylen. In parallel, we already added a fully packaged example with step-by-step explanation to run it.

@kortschak
Copy link

@giraola For the general checks, the question is "Has the submitting author (@giraola) made major contributions to the software?" Interpreting this literally it is hard to say yes based on git blame/git log, but I imagine that your input has been supervisional and I should be reading the author list as a biologist. Is this correct?

@Kevin-Mattheus-Moerman Can you clarify the interpretation of this question?

@giraola
Copy link

giraola commented Apr 20, 2018

Hi @Kevin-Mattheus-Moerman, we would like to know what additional specific modifications are needed to fulfil reviewer's requirements. These are boxes that remain unchecked:

Cheers,
Gregorio

@juanvillada
Copy link

juanvillada commented Apr 21, 2018

Hi @giraola and @iferres!

I reinstalled and tried phylen again today. It is working as expected.
Functionality OK!

> devtools::install_github("iferres/phylen")
> library(phylen)
> tgz <- system.file('extdata', 'toydata.tar.gz', package = 'phylen')
> gff <- untar(tarfile = tgz, exdir = getwd(), list = T)
> untar(tarfile = tgz,exdir = getwd())
> hmm <- download_nog_hmm(nog.prefix = "eproNOG", onDir = getwd())
> p <- phylen(gffs = gff, # The gff files extracted on the first step
            hmmFile = hmm, # The downloaded HMMs
            isCompressed = TRUE, # The downloaded HMMs are compressed (tar.gz)
            phyloMode = "ml", # nj or ml, in this case we will use maximum likelihood
            nbs = 100, # The number of bootstrap.
            level = 100, # The percentage of genomes a gene must be in to be considered as part of the coregenome.
            outDir = "phylen", # Lets create a directory called "phylen" to put the output files
            n_threads = 2) # Use 2 threads



Decompressing.. DONE!
Concatenating.. 
==============================================================================================================
DONE!
Pressing.. DONE!
Getting information from hmms.. DONE!
Searching.. DONE!
Computing panmatrix.. DONE!
Getting core-genes.. DONE!
Writting fastas.. DONE!
Aligning.. DONE!
Concatenating.. DONE!
Removing intermediate files.. DONE!
Generating phylogeny..
optimize edge weights:  -5958264 --> -5731301 
optimize base frequencies:  -5731301 --> -5685751 
optimize rate matrix:  -5685751 --> -5620789 
optimize edge weights:  -5620789 --> -5619310 
optimize topology:  -5619310 --> -5619310 
0 
optimize base frequencies:  -5619310 --> -5615981 
optimize rate matrix:  -5615981 --> -5614940 
optimize edge weights:  -5614940 --> -5614927 
optimize base frequencies:  -5614927 --> -5614698 
optimize rate matrix:  -5614698 --> -5614643 
optimize edge weights:  -5614643 --> -5614640 
optimize base frequencies:  -5614640 --> -5614626 
optimize rate matrix:  -5614626 --> -5614623 
optimize edge weights:  -5614623 --> -5614623 
optimize base frequencies:  -5614623 --> -5614621 
optimize rate matrix:  -5614621 --> -5614621 
optimize edge weights:  -5614621 --> -5614621 
optimize base frequencies:  -5614621 --> -5614621 
optimize rate matrix:  -5614621 --> -5614621 
optimize edge weights:  -5614621 --> -5614621 
Generating phylogeny.. DONE!

Finished: 658 groups of orthologous from 10 isolates have been used in the alignment.
Returning an object of class "phylo" with 10tips and 8 nodes.
> p

Phylogenetic tree with 10 tips and 8 internal nodes.

Tip labels:
	C_fetus_subsp_testudinum_Sp3, C_fetus_subsp_venerealis_str_84-112, C_hyointestinalis_subsp_lawsonii_CCUG_27631, C_iguaniorum_str_RM11343, C_pinnipediorum_subsp_pinnipediorum_str_RM17262, H_bilis_str_AAQJH, ...
Node labels:
	100, 100, 100, 100, 100, 100, ...

Unrooted; includes branch lengths.
> class(p)
[1] "phylo"
> plot(p, type = 'unrooted', cex = 0.7, lab4ut = 'axial')

rplot

@kortschak
Copy link

@giraola Sorry, I have been unable to find the time to get to the last check. I will try to find time this week.

@Kevin-Mattheus-Moerman
Copy link
Member

@giraola thanks for reaching out. @kortschak @juanvillada thanks for your review and your feedback to @giraola's query.

@Kevin-Mattheus-Moerman
Copy link
Member

@KlausVigo can you reply to @giraola in relation to what you think is preventing you from ticking the last boxes? Thanks

@KlausVigo
Copy link

@giraola ,
all fine. Let me know if you need any help with the integration of phangorn or have suggestions to improve phangorn.
Regards,
Klaus

@Kevin-Mattheus-Moerman
Copy link
Member

Thanks @KlausVigo for the fast reply.

@giraola
Copy link

giraola commented Apr 24, 2018

Thanks @KlausVigo we will keep improving phylen.

@kortschak
Copy link

Sorry for the delay. All accepted now.

@giraola
Copy link

giraola commented May 2, 2018

Thanks @kortschak, @juanvillada and @KlausVigo for this constructive review process. @Kevin-Mattheus-Moerman, it seems every box has been checked by the three reviewers. What's next?

@Kevin-Mattheus-Moerman
Copy link
Member

@whedon generate pdf

@whedon
Copy link
Author

whedon commented May 3, 2018

Attempting PDF compilation. Reticulating splines etc...

@whedon
Copy link
Author

whedon commented May 3, 2018

@Kevin-Mattheus-Moerman
Copy link
Member

@giraola @iferres what is next is that I will congratulate you as I will now recommend that this work is accepted! 🎉 🚀 🤖
At this point, can you please make an archive of the final reviewed software in Zenodo, or figshare, or another service, and update this thread with the DOI of the archive? Once we have that available we can process acceptance.

@Kevin-Mattheus-Moerman
Copy link
Member

Thanks @kortschak, @juanvillada and @KlausVigo for your review efforts! 🍰

@iferres
Copy link

iferres commented May 4, 2018

Hi, thanks everyone for your patience and suggestions.
Here's the doi for the archive 10.6084/m9.figshare.6223538

@Kevin-Mattheus-Moerman
Copy link
Member

Arfon, over to you, we are all set. The authors say the DOI is 10.6084/m9.figshare.6223538. Although the link has .v1 in it see here: https://doi.org/10.6084/m9.figshare.6223538.v1, so make sure we'll use the correct one.

@arfon
Copy link
Member

arfon commented May 4, 2018

@whedon set 10.6084/m9.figshare.6223538.v1 as archive

@whedon
Copy link
Author

whedon commented May 4, 2018

OK. 10.6084/m9.figshare.6223538.v1 is the archive.

@arfon arfon added the accepted label May 4, 2018
@arfon
Copy link
Member

arfon commented May 4, 2018

@kortschak, @juanvillada and @KlausVigo - many thanks for your reviews and to @Kevin-Mattheus-Moerman for editing this one ✨

@iferres - your paper is now accepted into JOSS and your DOI is https://doi.org/10.21105/joss.00593 ⚡ 🚀 💥

@arfon arfon closed this as completed May 4, 2018
@whedon
Copy link
Author

whedon commented May 4, 2018

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

If you would like to include a link to your paper from your README use the following code snippet:

[![DOI](http://joss.theoj.org/papers/10.21105/joss.00593/status.svg)](https://doi.org/10.21105/joss.00593)

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

@Kevin-Mattheus-Moerman
Copy link
Member

Congratulations @iferres and @giraola ! 🍰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted published Papers published in JOSS recommend-accept Papers recommended for acceptance in JOSS. review
Projects
None yet
Development

No branches or pull requests

8 participants