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]: AncesTrim - a tool for trimming complex pedigrees #179
Comments
Hello human, I'm @whedon. I'm here to help you with some common editorial tasks for JOSS. @jyuan1322 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 as reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all JOSS reviews 😿 To fix this do the following two things:
For a list of things I can do to help you, just type:
|
Overall I found AncesTrim easy to install and run, and would only suggest minor changes to code documentation and error handling. Functionality: Documentation:
Code:
Minor issues:
|
Thanks @jyuan1322 for the review! @JNisk: it would be great if you could respond to these points. Most importantly:
|
Dear @jyuan1322 and @mgymrek, thank you very much for your constructive criticism. I will now continue working with the script to address these issues. Best regards, |
To respond to the points made by @jyuan1322:
The first section of README has been modified to be more descriptive. In addition, a "before and after" image has been added for demonstration. I had thought of an image before and hesitated, but your suggestion made it apparent that this improves the README quite a bit. Also, the "Pedigree trimming principles" section now includes an example image.
Error checking has been improved. Both raw file and register file are checked and an error message is displayed if either file is empty. Empty lines in register file are skipped, and lines in raw file are checked for missing columns. Also, an error message is displayed if an individual exists in the register file but not in the raw file.
I agree with this. From my point of view, the complexity stems from the numerous pairwise comparisons that are made while searching for relatedness and when trimming the relationship paths. I understand that wrapping these into functions could make the script easier to read. However, I imagine this tool being used as a whole, which lessens the need to make particular steps available as functions. But in general this is a very valuable piece of advice and I aim to be more function-orientated in the future.
The command line options have been improved. A “--help” argument has been added, and it will display information about all the available parameters. Also, if a parameter is missing, messages about both the missing argument and the “--help” option will be displayed. This will also happen if no arguments are provided. The “--folder” argument has been modified. The script now only requires an “--outfolder” parameter that designates the destination of the output files. An optional parameter “--infolder” can be used in case the user wants to specify the input file folder instead of tab-completion. This custom command line parser was constructed as a practice, but I know realize that it would indeed have been better to use the argparse module. I am not keen on completely changing the parser at this point, but I will definitely change my approach for future projects. It is a very good point.
This is an excellent suggestion, and I had not thought of this before. The lack of input file parsing is partly because this script is part of a custom pedigree manipulation pipeline, but I understand that it would be a valuable addition to this tool.
This is something that I considered, and it is true that AncesTrim can process any pedigree data regardless of species. I decided against changing the column names (and, additionally, the variable names in the script itself) as I thought that it is a minor issue that does not affect the performance of the script. I agree that the columns seem a bit silly, though, if one is working with something else than dog data.
The typo has been fixed. In addition, I made some changes in the files to reflect the version change from 1.0 to 1.1. Changelog has been updated appropriately. I want to sincerely thank @jyuan1322 for your hard work and great comments! |
Great! The readme is excellent. Everything looks good to me. :) |
Thank you @jyuan1322! Should I now deposit the up-to-date repository to an archive or do I wait for the editor @mgymrek to accept this? Best regards, |
I think wait for @mgymrek - I'm not sure exactly what the procedure is. |
I have now archived version 1.1, and the DOI is http://doi.org/10.5281/zenodo.375807. I also updated the codemeta.json with the DOI. Best regards, |
@whedon set 10.5281/zenodo.375807 as archive |
OK. 10.5281/zenodo.375807 is the archive. |
@jyuan1322 many thanks for your review here and @mgymrek for editing this submission ✨ @JNisk - your paper is now accepted into JOSS and your DOI is http://dx.doi.org/10.21105/joss.00179 ⚡️ 🚀 💥 |
Submitting author: @JNisk (Julia Niskanen)
Repository: https://github.com/JNisk/AncesTrim
Version: v1.0
Editor: @mgymrek
Reviewer: @jyuan1322
Archive: 10.5281/zenodo.375807
Status
Status badge code:
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 questions
Conflict of interest
General checks
Functionality
Documentation
Software paper
paper.md
file include a list of authors with their affiliations?The text was updated successfully, but these errors were encountered: