- name: pirate test_pirate
  command: nextflow run ./tests/modules/pirate -entry test_pirate -c ./tests/config/nextflow.config -c ./tests/modules/pirate/nextflow.config
  tags:
    - pirate
  files:
    - path: output/pirate/results/PIRATE.gene_families.ordered.tsv
      contains: ["allele_name"]
    - path: output/pirate/results/PIRATE.gene_families.tsv
      contains: ["allele_name"]
    - path: output/pirate/results/PIRATE.genomes_per_allele.tsv
      contains: ["g0197"]
    - path: output/pirate/results/PIRATE.log
      contains: ["PIRATE input options"]
    - path: output/pirate/results/PIRATE.pangenome_summary.txt
      md5sum: 4551c291bc06b21f984f25c09329ed7d
    - path: output/pirate/results/PIRATE.unique_alleles.tsv
      contains: ["allele_name"]
    - path: output/pirate/results/binary_presence_absence.fasta
      contains: ["test1"]
    - path: output/pirate/results/binary_presence_absence.nwk
      md5sum: 1fcf7434911bbab39b74791259f1f989
    - path: output/pirate/results/cluster_alleles.tab
      contains: ["g0001"]
    - path: output/pirate/results/co-ords/test1.co-ords.tab
      md5sum: f1e75c045b35bae260dadb1a2f000dfa
    - path: output/pirate/results/co-ords/test2.co-ords.tab
      md5sum: 953b0d2f1dfd4c3a6a6dd246c9174703
    - path: output/pirate/results/co-ords/test3.co-ords.tab
      md5sum: 61f2c52ef77dc9a97a200c57b89b7d69
    - path: output/pirate/results/genome2loci.tab
      md5sum: 2d9cdefd5b1a7f5e20b0a70a6e5fa588
    - path: output/pirate/results/genome_list.txt
      md5sum: c19ac63da7949b15179f42093cbf95b8
    - path: output/pirate/results/link_clusters.log
      contains: ["parsing paralog file"]
    - path: output/pirate/results/loci_list.tab
      contains: ["test1_00242"]
    - path: output/pirate/results/loci_paralog_categories.tab
      md5sum: f8c3d31f445c3cb66bd95ba77be0a7b8
    - path: output/pirate/results/modified_gffs/test1.gff
      md5sum: 5dc220e472165c3b693e1017f38fc0e3
    - path: output/pirate/results/modified_gffs/test2.gff
      md5sum: 975f5c7fb363caf1be9c53e5e237bb5d
    - path: output/pirate/results/modified_gffs/test3.gff
      md5sum: a4735a5ac75ce82aadba8a3de6cabc2e
    - path: output/pirate/results/pan_sequences.fasta
      md5sum: 0492833706f0f969b49a3555c16ec40d
    - path: output/pirate/results/pangenome.connected_blocks.tsv
      contains: ["block_number"]
    - path: output/pirate/results/pangenome.edges
      contains: ["g0259"]
    - path: output/pirate/results/pangenome.gfa
      contains: ["g0001"]
    - path: output/pirate/results/pangenome.order.tsv
      contains: ["g0172"]
    - path: output/pirate/results/pangenome.reversed.tsv
      md5sum: b2396ce09a6e4178761eca6dc7f4434f
    - path: output/pirate/results/pangenome.syntenic_blocks.tsv
      contains: ["g0091"]
    - path: output/pirate/results/pangenome.temp
    - path: output/pirate/results/pangenome_iterations/pan_sequences.50.reclustered.reinflated
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.60.reclustered.reinflated
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.70.reclustered.reinflated
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.80.reclustered.reinflated
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.90.reclustered.reinflated
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.95.reclustered.reinflated
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.98.reclustered.reinflated
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.blast.output
      md5sum: ffb3b5bf1ba24bf2bd0be677500139a2
    - path: output/pirate/results/pangenome_iterations/pan_sequences.cdhit_clusters
      contains: ["test1_00081"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.core_clusters.tab
      contains: ["test1_00242"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.mcl_log.txt
      contains: ["chaos"]
    - path: output/pirate/results/pangenome_iterations/pan_sequences.representative.fasta
      md5sum: 6e483c773ed90bd50b33f2bd569343e4
    - path: output/pirate/results/pangenome_iterations/pan_sequences.representative.fasta.pdb
    - path: output/pirate/results/pangenome_iterations/pan_sequences.representative.fasta.pot
    - path: output/pirate/results/pangenome_iterations/pan_sequences.representative.fasta.ptf
    - path: output/pirate/results/pangenome_iterations/pan_sequences.representative.fasta.pto
    - path: output/pirate/results/pangenome_log.txt
      contains: ["Creating pangenome on amino acid"]
    - path: output/pirate/results/paralog_clusters.tab
      contains: ["g0216"]
    - path: output/pirate/results/representative_sequences.faa
      contains: ["representative_genome"]
    - path: output/pirate/results/representative_sequences.ffn
      contains: ["representative_genome"]
    - path: output/pirate/results/split_groups.log
      contains: ["g0"]