This PR contains some refactors preparing for the main plasnet integration PR.
It refactors 2 rules (create_genomes_tsv and cat_jaccard) and 2 functions (get_pairs() and get_files()) that were duplicated between two workflows (pling/align_snakemake/Snakefile and pling/jac_network_snakemake/Snakefile) into a single snakemake file (pling/common_rules/common_rules.smk) which is now included in both workflows.
Sorry that rule create_genomes_tsv was not introduced before, it is a new rule required to integrate plasnet into pling.
This PR contains some refactors preparing for the main
plasnet
integration PR.It refactors 2 rules (
create_genomes_tsv
andcat_jaccard
) and 2 functions (get_pairs()
andget_files()
) that were duplicated between two workflows (pling/align_snakemake/Snakefile
andpling/jac_network_snakemake/Snakefile
) into a single snakemake file (pling/common_rules/common_rules.smk
) which is now included in both workflows.Sorry that rule
create_genomes_tsv
was not introduced before, it is a new rule required to integrateplasnet
intopling
.