2

I have a perl program that I want to convert into a bioperl module. How do I do that? Is there an up-to date tutorial? That's really all I need.

Thank you.

eugheugh
  • 67
  • 7

1 Answers1

3

For module naming conventions and other information (whether you're writing it for CPAN or not), start with perlnewmod. To make an actual module, first install Module::Starter and use module-starter command line utility to create your skeleton.

stevieb
  • 9,065
  • 3
  • 26
  • 36
  • Thanks, you're right. I've updated my answer to reflect this. – stevieb Aug 03 '15 at 15:22
  • Thank you! I just have a question. Would this be the correct format?: sudo module-starter --module=Bio::DB::CCDS \ --dir=/usr/share/perl5/Bio/DB/ It says --dir is unparseable – eugheugh Aug 12 '15 at 12:30
  • Just leave the optional `dir` param blank. Except for non-standard installs (which I'm almost certain you don't want), setting `--module` takes care of everything by default. – stevieb Aug 25 '15 at 19:38
  • To further, for a basic case, I just set `--author`, `--email`, `--license` and `--module` – stevieb Aug 25 '15 at 19:39