1

I don't know about Ubunto or Perl but still need to install and run a program on it. This is what I am looking at: http://vcftools.sourceforge.net/docs.html

On the installation section it says this:

To build the vcftools executable, type "make" in the vcftools folder.

The Perl scripts require that VCF files are compressed by bgzip and indexed by tabix (both tools are part of the tabix package, available for download here). Both tools must be in directories that are listed in the PATH environment variable. For running the Perl scripts, the PERL5LIB environment variable must be set to include the Vcf.pm module

export PERL5LIB=/path/to/your/installation/perl

so Ok, I extracted and copied their VCFtools folder into ubuntu's home folder. Then I said "make" it gave errors, then I went and downloaded that tabidx tool, but from this point I don't know what to do with it, Ok I download tabidx, but what to do next and how?

Thanks.

Timur Shtatland
  • 12,024
  • 2
  • 30
  • 47
Bohn
  • 26,091
  • 61
  • 167
  • 254
  • 4
    Next, you should try to fix the errors you got. – ikegami Jul 31 '12 at 17:28
  • 1
    If you have a plain Ubuntu install, it doesn't even have `make`, so you should install that first. `sudo aptitude install build-essential` will pull in `make` and some other common development tools, but there will probably be more stuff to install. – tripleee Jul 31 '12 at 18:05
  • @tripleee : it says "sudo: aptitude: command not found" – Bohn Jul 31 '12 at 19:56

1 Answers1

2
find / -name Vcf.pm

If that gives one--and only one line--you can do this:

export PERL5LIB=$( dirname $( find . -name Vcf.pm ))
Axeman
  • 29,660
  • 2
  • 47
  • 102