Mercurial > repos > mahtabm > ensembl
comparison variant_effect_predictor/Bio/EnsEMBL/Pipeline/Flatfile/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::Flatfile::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 | |
29 | |
30 Allowed parameters are: | |
31 | |
32 =over 8 | |
33 | |
34 =item species - The species to work with | |
35 | |
36 =back | |
37 | |
38 =cut | |
39 | |
40 package Bio::EnsEMBL::Pipeline::FASTA::FindDirs; | |
41 | |
42 use strict; | |
43 use warnings; | |
44 | |
45 use base qw/Bio::EnsEMBL::Pipeline::FindDirs Bio::EnsEMBL::Pipeline::Flatfile::Base/; | |
46 | |
47 use File::Spec; | |
48 | |
49 sub fetch_input { | |
50 my ($self) = @_; | |
51 $self->throw("No 'species' parameter specified") unless $self->param('species'); | |
52 $self->param('path', $self->data_path()); | |
53 $self->SUPER::fetch_input(); | |
54 return; | |
55 } | |
56 | |
57 1; |