Open the-mayer opened 2 months ago
@SunSummoner would you be interested in starting by generating a function map for the existing package? this will give us all an understanding of the dependent vs. independent functions & which of these need to be exported. Again, @the-mayer will be a good resource to check in regarding this.
@SunSummoner would you be interested in starting by generating a function map for the existing package? this will give us all an understanding of the dependent vs. independent functions & which of these need to be exported. Again, @the-mayer will be a good resource to check in regarding this.
@jananiravi Yes, I will check in with him.
Hi if this helps, you can have look at this function dependency graph i created with viznetwork. it is interactive html file. when opened it takes about 5s to load the components. select functions by id an zoom in to see it's dependency. you can also view all function dependencies at once. @jananiravi @the-mayer function_dependency_graph.zip
Some screenshots are added below for context.
@awasyn @SunSummoner, please remind us if there are open PRs for this automatic function dependency map generation. Thanks!
@awasyn @SunSummoner, please remind us if there are open PRs for this automatic function dependency map generation. Thanks!
@jananiravi None from my side yet.
@awasyn @SunSummoner, please remind us if there are open PRs for this automatic function dependency map generation. Thanks!
I just pushed a PR on this. I hesitated before because I was of the impression the task was assigned to another contributor. Sorry for the delay.
List of expected functions from
molevol_scripts/R
Ensure all functions are present and accounted for. Use list depth to determine if function should be user facing (ie @export).
Import and combining input files
scripts/convert_opinscls_tsv.R
usingclean_clust_file
colnames.op_ins_cls
andcolnames.op_ins_cls.clus2table
)Cleanup
[x]
repeat2s
(s)
map
?[x]
remove_tails
[x]
remove_empty_rows
[x]
cleanup_clust
ClustName
acts asDomArch
?domains_keep
remove rows without query (readsquery_domains
,domains_keep
)domains_rename
(readsdomains_rename
)clustnames_ignore
)repeat2s
: repeated domains with(s)
remove_tails
[x]
cleanup_species
remove_empty
rows (!change it to an alert about AccNums w/ no lineage/spp)[x]
cleanup_domarch
domains_ignore
)domains_keep
remove rows without query (readsquery_domains
,domains_keep
)domains_rename
)repeat2s
: repeated domains with(s)
remove_tails
[x]
cleanup_gencontext
reverse_operons
repeat2s
: repeated domains with(s)
[x]
add_leaves
to_titlecase
convert_aln2fa
|convert_aln2tsv
add_leaves
| adding leaves based on AccNum, Lineage and Spp.add_leaves
too?convert_accnum2fasta
filter_for_phylo
Summary stats
count_bycol
generate_wordcount
elements2words
words2wc
filter_freq
| mostly used within other functionssummary_bylin
(for DA, GC)summ_DA_byLin
summ_GC_byDALin
summ_GC_byLin
summary_stats
(for DA, GC)summ_DA
summ_GC
total_counts
find_paralogs
Plotting
upset_plot
lineage_DA_plot
lineage_GC_plot
lineage_domain_repeats_plot
??wordcloud
msa_tree
msa_pdf
phylotree
?prot_network