-
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
Tagging functions to be renamed #7
Comments
On it |
Hi @jananiravi, by tagging, do you mean noting down the function names to be changed? Or should the change be made by a contributor? |
Yes, you can begin with documenting changes to be made by checking whether the current names follow typical good function nomenclature (e.g., style guide) and whether there's consistency across functions. If there's an agreement, changes can be made -- following confirmation from me or @the-mayer. For instance,
|
Noted, thanks! |
@jananiravi I wanted to ask if this issue is open for other applicants to contribute as well. I’m interested in getting involved. |
Sure! @AleruDivine, I can help you get started and let you know how far I've gotten. it's a lot of function names haha. |
Oh! Thank you so much! I asked to work on another issue seeing you had already started working on this. I hoped to delete this comment. but yes please. I'd love to work on this together. Let me delete my other comment 🥹 I'm just getting started, going through the resources. I'll reach out in a couple of hours. Thank you so much! |
Hi, @jananiravi would it be possible to contribute to this issue? I'm interested in getting involved only if its okay with you |
Hi @jananiravi, below are the function names ready to be renamed as soon as approved. Filename -> acc2lin.r function name changes filename -> assign_job_queue.R make_opts2procs -> createOptionsToProcessMapping, map_advanced_opts2procs -> get_proc_medians -> calculateMedianRuntimeForProcesses write_proc_medians_table -> exportMedianRuntimeTableToTsv write_proc_medians_yml -> exportMedianRuntimeToYaml get_proc_weights -> retrieveProcessRuntimeWeights advanced_opts2est_walltime -> calculateEstimatedWalltimeFromOptions filename -> blastWrappers.R filename -> CHANGED-pre-msa-tree.R convert_aln2fa -> convertAlignmentToFasta filename -> clean_clust_file.R filename -> cleanup.R clean_string -> cleanString string2accnum -> extractAccessionNumber make_accnums_unique -> ensureUniqueAccessionNumbers cleanup_fasta_header -> cleanUpFastaHeaders remove_empty -> removeEmptyRows repeat2s -> condenseRepeatedDomains replaceQMs -> replaceQuestionMarks remove_astrk -> removeAsterisks remove_tails -> removeLowFrequencyEntries (appear as args in other func) cleanup_species -> cleanUpSpeciesColumn cleanup_clust -> cleanUpClusterData cleanup_domarch -> cleanUpDomainArchitecture cleanup_gencontext -> cleanUpGenomicContextColumn cleanup_GeneDesc -> cleanUpGeneDescription pick_longer_duplicate -> selectLongestDuplicateRecord cleanup_lineage -> cleanUpLineageData filename -> colnames_molevol.R None (Code commented out) filename -> combine_analysis.R combine_full -> combineFullAnalysisFiles filename -> combine_files.R combine_files -> combineSimilarFiles filename -> create_lineage_lookup.R create_lineage_lookup -> createLineageLookup filename -> fa2domain.R exec_interproscan -> executeInterProScan |
@jananiravi The remaining function names ready to be changed are as follows ; filename -> ipr2viz.R theme_genes2 -> themeGenes2 filename -> job_status_emails.R make_job_results_url -> generateJobResultsUrl finename -> lineage.R GCA2lin -> mapGCAIDToTaxIDAndLineage filename -> msa.R msa_pdf -> generateMsaPdfFromFasta filename -> networks_domarch.R domain_network -> createDomainNetwork filename -> networks_gencontext.R gc_undirected_network -> createUndirectedDomainNetwork filename -> plotme.R count_to_sunburst -> generateSunburstPlot filename -> plotting.R shorten_lineage -> shortenLineage filename -> pre-msa-tree.R RepresentativeAccNums -> generateRepresentativeAccessionNumbers filename -> query_blast.R filename -> reverse_operons.R reveql -> straightenOperonSequence filename -> reverse_operons.R filename -> summarize.R filter_by_doms -> filterByDomains filename -> tree.R convert_fa2tre -> convertFastaToTree |
@the-mayer, let's go through these changes and finalize so the outreachy folks can figure out next steps. |
@Seyi007, now's a good time to check this list & also pop into #3 & see if any functions are missing in the inventory. So reach out to folks who are working on that & #26 to update all function names and if any are missing. @the-mayer is this file only on molevol_scripts still? Should we start creating a |
yes, @balogunadekemi, tag along with Seyi for the next task in line. |
@jananiravi, the contents of issue #3 were populated from this README, so I believe we’ve successfully transitioned from molevol_scripts. To keep this package repo clean and avoid cluttering .Rbuildignore with miscellaneous files, I suggest we handle the function inventory and related tasks as issues or discussions moving forward. Good call on using the pkgdown Reference tab as a guide. This list should comprehensively cover existing functions with docstrings that are exported and can also highlight where documentation is missing. |
Found and updated the following function from the package index link:
Now it seems all the function names have been covered and updated! @jananiravi. For clarity, should the internal facing functions also be in camel cases starting with a dot(.)? Or? snake cases starting with a dot(.) |
Maybe we can go with |
Thanks, everyone, for your patience. @jananiravi and I have had the chance to discuss. Using @Seyi007’s comments as a base, I’m going to create several follow-up posts with proposed function name changes. These will be roughly divided by filename. Please feel free to convert each separate comment into a new issue so that multiple individuals may work on this, if desired. NOTE: Before beginning to work on a particular file, please check to see that @jananiravi has given the 👍 on the comment. The comments that follow will all follow a similar format:
Please follow the contributing guidelines and create a new branch containing your changes. Commit your work, and submit a PR when ready for review. |
|
|
@Seyi007, I made some changes here yesterday & in the spin-off issues you created. Can you double-check to make sure consistent changes have been made throughout? Thanks for splitting them up! |
thanks again, @the-mayer! @Seyi007 @teddyCodex, made a few changes above in the issues & in the PRs, but I'm sure I've missed something. In principle, let me know if you find anything else that seems inconsistent or something we may have missed. thanks! |
Hi @jananiravi, are the new names to be for the above listed function names genContext and IPRscan? Also what does the '?' under the user facing column signify? |
I believe so @Seyi007 already implemented and raised a PR for that file. |
Okay good one! |
Can I work on this too? #67 or is someone working on that already? |
I see @teddyCodex has worked on it |
_
,.
-->camelCase
names.
The text was updated successfully, but these errors were encountered: