Annotation.snake 507 B

12345678910111213141516
  1. localrules: makeOrgDB
  2. ######################################################
  3. # Annotation with eggnog-mapper
  4. ######################################################
  5. Annotation_Dir = config["Annotation_Dir"]
  6. rule makeOrgDB:
  7. input:
  8. emapper = config["emapper"],
  9. proteins = config["proteins"]
  10. output:
  11. Annotation_Dir + "/anno_stat.txt"
  12. shell:
  13. "cd {Annotation_Dir} ;"
  14. "Rscript ../tools/emcp/emapperx.R ../{input.emapper} ../{input.proteins} ;"
  15. "cd ..;"