File: empty_segment

package info (click to toggle)
libbio-das-lite-perl 2.11-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 468 kB
  • sloc: xml: 1,299; perl: 1,152; makefile: 31
file content (18 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl -wT
use strict;
use lib qw(blib/lib lib ../blib/lib ../lib);
use Bio::Das::Lite;
use Data::Dumper;

my $das = Bio::Das::Lite->new("http://www.ensembl.org/das/Homo_sapiens.GRCh37.reference");
$das->timeout(10);
print Dumper($das->features([
			     {
			      'segment'  => "21",
			      'category' => 'null',
			     },
			     {
			      'segment' => 'Y',
			      'category' => 'null',
			     }
			    ]));