comparison variant_effect_predictor/Bio/EnsEMBL/Pipeline/FASTA/FindDirs.pm @ 0:1f6dce3d34e0

Uploaded
author mahtabm
date Thu, 11 Apr 2013 02:01:53 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1f6dce3d34e0
1 =pod
2
3 =head1 LICENSE
4
5 Copyright (c) 1999-2012 The European Bioinformatics Institute and
6 Genome Research Limited. All rights reserved.
7
8 This software is distributed under a modified Apache license.
9 For license details, please see
10
11 http://www.ensembl.org/info/about/code_licence.html
12
13 =head1 CONTACT
14
15 Please email comments or questions to the public Ensembl
16 developers list at <dev@ensembl.org>.
17
18 Questions may also be sent to the Ensembl help desk at
19 <helpdesk@ensembl.org>.
20
21 =head1 NAME
22
23 Bio::EnsEMBL::Pipeline::FASTA::FindDirs
24
25 =head1 DESCRIPTION
26
27 Finds all directories under the given species directory. This is used to
28 flow any further processing only dependent on the directory and so
29 inherits from JobFactory and Bio::EnsEMBL::Pipeline::FASTA::Base to bring in methods which
30 know about the FTP structure.
31
32 Allowed parameters are:
33
34 =over 8
35
36 =item species - The species to work with
37
38 =back
39
40 =cut
41
42 package Bio::EnsEMBL::Pipeline::FASTA::FindDirs;
43
44 use strict;
45 use warnings;
46
47 use base qw/Bio::EnsEMBL::Pipeline::FindDirs Bio::EnsEMBL::Pipeline::FASTA::Base/;
48
49 use File::Spec;
50
51 sub fetch_input {
52 my ($self) = @_;
53 $self->throw("No 'species' parameter specified") unless $self->param('species');
54 $self->param('path', $self->fasta_path());
55 $self->SUPER::fetch_input();
56 return;
57 }
58
59 1;