| 1 | package Microarray::File::Data::BlueFuse; | ||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||
| 3 | 1 | ▶ | use 5.006; | ||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||
| 4 | 1 | ▶ | use strict; | ||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||
| 5 | 1 | ▶ | use warnings; | ||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||
| 6 | 1 | our $VERSION = '1.23'; | |||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||||
| 8 | 1 | require Microarray::File::Data; | |||||||||||||||||||||||||||||
| 9 | |||||||||||||||||||||||||||||||
| 10 | 0 | ▶ | sub auto_data_file { | ||||||||||||||||||||||||||||
|
Subroutine
auto_data_file: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||
| 11 | 0 | ('bluefuse_file','bluefuse'); | |||||||||||||||||||||||||||||
| 12 | } | ||||||||||||||||||||||||||||||
| 13 | |||||||||||||||||||||||||||||||
| 14 | { package bluefuse_post_file; | ||||||||||||||||||||||||||||||
| 15 | |||||||||||||||||||||||||||||||
| 16 | 1 | our @ISA = qw( bluefuse_file ); | |||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||||
| 18 | # should include methods for getting/setting extra header info at some point | ||||||||||||||||||||||||||||||
| 19 | # for now, this class simply deals with the lack of some values in post files | ||||||||||||||||||||||||||||||
| 20 | |||||||||||||||||||||||||||||||
| 21 | 0 | ▶ | sub man_excl { | ||||||||||||||||||||||||||||
|
Subroutine
man_excl: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 22 | 0 | return "no"; | |||||||||||||||||||||||||||||
| 23 | } | ||||||||||||||||||||||||||||||
| 24 | 0 | ▶ | sub auto_excl { | ||||||||||||||||||||||||||||
|
Subroutine
auto_excl: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 25 | 0 | return "no"; | |||||||||||||||||||||||||||||
| 26 | } | ||||||||||||||||||||||||||||||
| 27 | 0 | ▶ | sub spot_index { | ||||||||||||||||||||||||||||
|
Subroutine
spot_index: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 28 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 29 | 0 | my $index = shift; | |||||||||||||||||||||||||||||
| 30 | 0 | return ($index + 1); | |||||||||||||||||||||||||||||
| 31 | } | ||||||||||||||||||||||||||||||
| 32 | |||||||||||||||||||||||||||||||
| 33 | } | ||||||||||||||||||||||||||||||
| 34 | |||||||||||||||||||||||||||||||
| 35 | 1 | { package bluefuse_file; | |||||||||||||||||||||||||||||
| 36 | |||||||||||||||||||||||||||||||
| 37 | 1 | our @ISA = qw( data_file ); | |||||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||||
| 39 | # setter for { _spot_data }, { _data_fields } and { _header_info } | ||||||||||||||||||||||||||||||
| 40 | 0 | ▶ | sub sort_data { | ||||||||||||||||||||||||||||
|
Subroutine
sort_data: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 41 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 42 | 0 | my $aaData = shift; | |||||||||||||||||||||||||||||
| 43 | 0 | $self->set_header_info($aaData); | |||||||||||||||||||||||||||||
| 44 | 0 | $self->set_data_fields(shift @$aaData); | |||||||||||||||||||||||||||||
| 45 | 0 | $self->{ _spot_data } = $aaData; # all the numbers | |||||||||||||||||||||||||||||
| 46 | 0 | $self->{ _spot_count } = scalar @$aaData; | |||||||||||||||||||||||||||||
| 47 | } | ||||||||||||||||||||||||||||||
| 48 | |||||||||||||||||||||||||||||||
| 49 | # information about the scan | ||||||||||||||||||||||||||||||
| 50 | 0 | ▶ | sub set_header_info { | ||||||||||||||||||||||||||||
|
Subroutine
set_header_info: not called CC=13 SCAR=52.0
| |||||||||||||||||||||||||||||||
| 51 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 52 | 0 | my $aaData = shift; | |||||||||||||||||||||||||||||
| 53 | 0 | my $hHeader_Info = { }; | |||||||||||||||||||||||||||||
| 54 | 0 | my ($flags,$qc); | |||||||||||||||||||||||||||||
| 55 | |||||||||||||||||||||||||||||||
| 56 | 0 | ▶ | while (my $aRow = shift @$aaData){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 57 | |||||||||||||||||||||||||||||||
| 58 | 0 | ▶ | next unless (@$aRow); | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 59 | 0 | ▶ | if ($$aRow[0] eq 'ROW'){ | ||||||||||||||||||||||||||||
|
Branch: 6 branches
| |||||||||||||||||||||||||||||||
| 60 | 0 | unshift(@$aaData,$aRow); | |||||||||||||||||||||||||||||
| 61 | 0 | last; | |||||||||||||||||||||||||||||
| 62 | } elsif ($$aRow[0] =~ /#/){ | ||||||||||||||||||||||||||||||
| 63 | 0 | next; | |||||||||||||||||||||||||||||
| 64 | } elsif ($$aRow[0] =~ /^Created by/){ | ||||||||||||||||||||||||||||||
| 65 | 0 | my $value = $$aRow[0]; | |||||||||||||||||||||||||||||
| 66 | 0 | $value =~ s/Created by //; | |||||||||||||||||||||||||||||
| 67 | 0 | $hHeader_Info->{ VERSION } = $value; | |||||||||||||||||||||||||||||
| 68 | } elsif ($$aRow[0] =~ /ARRAY QC START:/){ | ||||||||||||||||||||||||||||||
| 69 | 0 | $qc++; | |||||||||||||||||||||||||||||
| 70 | } elsif ($$aRow[0] =~ /ARRAY QC END:/){ | ||||||||||||||||||||||||||||||
| 71 | 0 | $qc = undef; | |||||||||||||||||||||||||||||
| 72 | } elsif ($qc) { | ||||||||||||||||||||||||||||||
| 73 | 0 | ▶ | if ($$aRow[0] eq 'Confidence Flags (%)'){ | ||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||
| 74 | 0 | $flags++; | |||||||||||||||||||||||||||||
| 75 | } elsif ($flags){ | ||||||||||||||||||||||||||||||
| 76 | 0 | $hHeader_Info->{ 'Confidence Flags (%)' } = { | |||||||||||||||||||||||||||||
| 77 | A => $$aRow[2], | ||||||||||||||||||||||||||||||
| 78 | B => $$aRow[3], | ||||||||||||||||||||||||||||||
| 79 | C => $$aRow[4], | ||||||||||||||||||||||||||||||
| 80 | D => $$aRow[5], | ||||||||||||||||||||||||||||||
| 81 | E => $$aRow[6] | ||||||||||||||||||||||||||||||
| 82 | }; | ||||||||||||||||||||||||||||||
| 83 | 0 | $flags = undef; | |||||||||||||||||||||||||||||
| 84 | } else { | ||||||||||||||||||||||||||||||
| 85 | 0 | $hHeader_Info->{ $$aRow[0] } = $$aRow[3]; | |||||||||||||||||||||||||||||
| 86 | } | ||||||||||||||||||||||||||||||
| 87 | } else { | ||||||||||||||||||||||||||||||
| 88 | 0 | my ($key,$value) = split(/: /,$$aRow[0]); | |||||||||||||||||||||||||||||
| 89 | 0 | ▶ | if ($key eq 'CONFIDENCE FLAGS'){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 90 | 0 | my @aFlag_Estimates = split(/, /,$value); | |||||||||||||||||||||||||||||
| 91 | 0 | my $hFlag_Ranges = { }; | |||||||||||||||||||||||||||||
| 92 | 0 | for my $flag_range (@aFlag_Estimates){ | |||||||||||||||||||||||||||||
| 93 | 0 | my ($start,$flag,$end) = split(/ < /,$flag_range); | |||||||||||||||||||||||||||||
| 94 | 0 | $hFlag_Ranges->{ $flag } = [$start,$end]; | |||||||||||||||||||||||||||||
| 95 | } | ||||||||||||||||||||||||||||||
| 96 | 0 | $value = $hFlag_Ranges; | |||||||||||||||||||||||||||||
| 97 | } | ||||||||||||||||||||||||||||||
| 98 | 0 | $hHeader_Info->{ $key } = $value; | |||||||||||||||||||||||||||||
| 99 | } | ||||||||||||||||||||||||||||||
| 100 | } | ||||||||||||||||||||||||||||||
| 101 | 0 | $self->{ _header_info } = $hHeader_Info; | |||||||||||||||||||||||||||||
| 102 | } | ||||||||||||||||||||||||||||||
| 103 | 0 | ▶ | sub delimiter { | ||||||||||||||||||||||||||||
|
Subroutine
delimiter: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 104 | 0 | return "\t"; | |||||||||||||||||||||||||||||
| 105 | } | ||||||||||||||||||||||||||||||
| 106 | |||||||||||||||||||||||||||||||
| 107 | ### header info getters ### | ||||||||||||||||||||||||||||||
| 108 | |||||||||||||||||||||||||||||||
| 109 | #Êbarcode not saved in bluefuse file | ||||||||||||||||||||||||||||||
| 110 | #Êhave to guess from data_file method | ||||||||||||||||||||||||||||||
| 111 | 0 | ▶ | sub slide_barcode { | ||||||||||||||||||||||||||||
|
Subroutine
slide_barcode: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 112 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 113 | 0 | $self->guess_barcode; | |||||||||||||||||||||||||||||
| 114 | } | ||||||||||||||||||||||||||||||
| 115 | 0 | ▶ | sub analysis_software { | ||||||||||||||||||||||||||||
|
Subroutine
analysis_software: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 116 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 117 | 0 | $self->get_header_info('VERSION'); | |||||||||||||||||||||||||||||
| 118 | } | ||||||||||||||||||||||||||||||
| 119 | 0 | ▶ | sub build { | ||||||||||||||||||||||||||||
|
Subroutine
build: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 120 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 121 | 0 | $self->get_header_info('BUILD'); | |||||||||||||||||||||||||||||
| 122 | } | ||||||||||||||||||||||||||||||
| 123 | 0 | ▶ | sub date { | ||||||||||||||||||||||||||||
|
Subroutine
date: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 124 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 125 | 0 | $self->get_header_info('DATE'); | |||||||||||||||||||||||||||||
| 126 | } | ||||||||||||||||||||||||||||||
| 127 | 0 | ▶ | sub experiment { | ||||||||||||||||||||||||||||
|
Subroutine
experiment: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 128 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 129 | 0 | $self->get_header_info('EXPERIMENT'); | |||||||||||||||||||||||||||||
| 130 | } | ||||||||||||||||||||||||||||||
| 131 | 0 | ▶ | sub channel1_image_file { | ||||||||||||||||||||||||||||
|
Subroutine
channel1_image_file: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 132 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 133 | 0 | $self->get_header_info('CH1'); | |||||||||||||||||||||||||||||
| 134 | } | ||||||||||||||||||||||||||||||
| 135 | 0 | ▶ | sub channel2_image_file { | ||||||||||||||||||||||||||||
|
Subroutine
channel2_image_file: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 136 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 137 | 0 | $self->get_header_info('CH2'); | |||||||||||||||||||||||||||||
| 138 | } | ||||||||||||||||||||||||||||||
| 139 | 0 | ▶ | sub frame_ch1 { | ||||||||||||||||||||||||||||
|
Subroutine
frame_ch1: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 140 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 141 | 0 | $self->get_header_info('FRAME CH1'); | |||||||||||||||||||||||||||||
| 142 | } | ||||||||||||||||||||||||||||||
| 143 | 0 | ▶ | sub frame_ch2 { | ||||||||||||||||||||||||||||
|
Subroutine
frame_ch2: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 144 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 145 | 0 | $self->get_header_info('FRAME CH2'); | |||||||||||||||||||||||||||||
| 146 | } | ||||||||||||||||||||||||||||||
| 147 | 0 | ▶ | sub gal_file { | ||||||||||||||||||||||||||||
|
Subroutine
gal_file: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 148 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 149 | 0 | $self->get_header_info('GAL'); | |||||||||||||||||||||||||||||
| 150 | } | ||||||||||||||||||||||||||||||
| 151 | 0 | ▶ | sub clone_file { | ||||||||||||||||||||||||||||
|
Subroutine
clone_file: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 152 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 153 | 0 | $self->get_header_info('CLONEFILE'); | |||||||||||||||||||||||||||||
| 154 | } | ||||||||||||||||||||||||||||||
| 155 | 0 | ▶ | sub clone_text { | ||||||||||||||||||||||||||||
|
Subroutine
clone_text: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 156 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 157 | 0 | $self->get_header_info('CLONETEXT'); | |||||||||||||||||||||||||||||
| 158 | } | ||||||||||||||||||||||||||||||
| 159 | 0 | ▶ | sub confidence_flag_range { | ||||||||||||||||||||||||||||
|
Subroutine
confidence_flag_range: not called CC=4 SCAR=30.0
| |||||||||||||||||||||||||||||||
| 160 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 161 | 0 | my $hFlags = $self->get_header_info('CONFIDENCE FLAGS'); | |||||||||||||||||||||||||||||
| 162 | 0 | ▶ | if(@_){ | ||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||
| 163 | 0 | my $flag = shift; | |||||||||||||||||||||||||||||
| 164 | 0 | ▶ | if (wantarray()) { | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 165 | 0 | return @{ $hFlags->{ $flag } }; | |||||||||||||||||||||||||||||
| 166 | } else { | ||||||||||||||||||||||||||||||
| 167 | 0 | return $hFlags->{ $flag }; | |||||||||||||||||||||||||||||
| 168 | } | ||||||||||||||||||||||||||||||
| 169 | } elsif (wantarray()) { | ||||||||||||||||||||||||||||||
| 170 | 0 | return ($$hFlags{E}[0],$$hFlags{E}[1],$$hFlags{D}[1],$$hFlags{C}[1],$$hFlags{B}[1],$$hFlags{A}[1]); | |||||||||||||||||||||||||||||
| 171 | } else { | ||||||||||||||||||||||||||||||
| 172 | 0 | return $hFlags; # a hashref | |||||||||||||||||||||||||||||
| 173 | } | ||||||||||||||||||||||||||||||
| 174 | } | ||||||||||||||||||||||||||||||
| 175 | 0 | ▶ | sub replicate_field { | ||||||||||||||||||||||||||||
|
Subroutine
replicate_field: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 176 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 177 | 0 | return $self->get_header_info('IDENTIFY REPLICATES BY'); | |||||||||||||||||||||||||||||
| 178 | } | ||||||||||||||||||||||||||||||
| 179 | 0 | ▶ | sub confidence_flag_percen { | ||||||||||||||||||||||||||||
|
Subroutine
confidence_flag_percen: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||||
| 180 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 181 | 0 | my $hFlags = $self->get_header_info('Confidence Flags (%)'); | |||||||||||||||||||||||||||||
| 182 | 0 | ▶ | if(@_){ | ||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||
| 183 | 0 | my $flag = shift; | |||||||||||||||||||||||||||||
| 184 | 0 | return $hFlags->{ $flag }; | |||||||||||||||||||||||||||||
| 185 | } elsif (wantarray()) { | ||||||||||||||||||||||||||||||
| 186 | 0 | return ($hFlags->{A},$hFlags->{B},$hFlags->{C},$hFlags->{D},$hFlags->{E}); | |||||||||||||||||||||||||||||
| 187 | } else { | ||||||||||||||||||||||||||||||
| 188 | 0 | return $hFlags; # a hashref | |||||||||||||||||||||||||||||
| 189 | } | ||||||||||||||||||||||||||||||
| 190 | } | ||||||||||||||||||||||||||||||
| 191 | 0 | ▶ | sub log_ratio_sd { | ||||||||||||||||||||||||||||
|
Subroutine
log_ratio_sd: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 192 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 193 | 0 | return $self->get_header_info('SD of Log2Ratio'); | |||||||||||||||||||||||||||||
| 194 | } | ||||||||||||||||||||||||||||||
| 195 | 0 | ▶ | sub rep_median_sd { | ||||||||||||||||||||||||||||
|
Subroutine
rep_median_sd: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 196 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 197 | 0 | return $self->get_header_info('Median SD Between Replicates'); | |||||||||||||||||||||||||||||
| 198 | } | ||||||||||||||||||||||||||||||
| 199 | 0 | ▶ | sub mean_ch1_amp { | ||||||||||||||||||||||||||||
|
Subroutine
mean_ch1_amp: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 200 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 201 | 0 | return $self->get_header_info('Mean Ch1 Spot Amplitude'); | |||||||||||||||||||||||||||||
| 202 | } | ||||||||||||||||||||||||||||||
| 203 | 0 | ▶ | sub mean_ch2_amp { | ||||||||||||||||||||||||||||
|
Subroutine
mean_ch2_amp: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 204 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 205 | 0 | return $self->get_header_info('Mean Ch2 Spot Amplitude'); | |||||||||||||||||||||||||||||
| 206 | } | ||||||||||||||||||||||||||||||
| 207 | 0 | ▶ | sub sbr_ch1 { | ||||||||||||||||||||||||||||
|
Subroutine
sbr_ch1: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 208 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 209 | 0 | return $self->get_header_info('SBR Ch1'); | |||||||||||||||||||||||||||||
| 210 | } | ||||||||||||||||||||||||||||||
| 211 | 0 | ▶ | sub sbr_ch2 { | ||||||||||||||||||||||||||||
|
Subroutine
sbr_ch2: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 212 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 213 | 0 | return $self->get_header_info('SBR Ch2'); | |||||||||||||||||||||||||||||
| 214 | } | ||||||||||||||||||||||||||||||
| 215 | 0 | ▶ | sub array_columns { | ||||||||||||||||||||||||||||
|
Subroutine
array_columns: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||||
| 216 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 217 | 0 | ▶ | if (@_){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 218 | 0 | $self->{ _array_columns } = shift; | |||||||||||||||||||||||||||||
| 219 | } else { | ||||||||||||||||||||||||||||||
| 220 | 0 | ▶ | unless (defined $self->{ _array_columns }){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 221 | 0 | $self->set_array_layout; | |||||||||||||||||||||||||||||
| 222 | } | ||||||||||||||||||||||||||||||
| 223 | 0 | $self->{ _array_columns }; | |||||||||||||||||||||||||||||
| 224 | } | ||||||||||||||||||||||||||||||
| 225 | } | ||||||||||||||||||||||||||||||
| 226 | 0 | ▶ | sub array_rows { | ||||||||||||||||||||||||||||
|
Subroutine
array_rows: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||||
| 227 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 228 | 0 | ▶ | if (@_){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 229 | 0 | $self->{ _array_rows } = shift; | |||||||||||||||||||||||||||||
| 230 | } else { | ||||||||||||||||||||||||||||||
| 231 | 0 | ▶ | unless (defined $self->{ _array_rows }){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 232 | 0 | $self->set_array_layout; | |||||||||||||||||||||||||||||
| 233 | } | ||||||||||||||||||||||||||||||
| 234 | 0 | $self->{ _array_rows }; | |||||||||||||||||||||||||||||
| 235 | } | ||||||||||||||||||||||||||||||
| 236 | } | ||||||||||||||||||||||||||||||
| 237 | 0 | ▶ | sub spot_columns { | ||||||||||||||||||||||||||||
|
Subroutine
spot_columns: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||||
| 238 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 239 | 0 | ▶ | if (@_){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 240 | 0 | $self->{ _spot_columns } = shift; | |||||||||||||||||||||||||||||
| 241 | } else { | ||||||||||||||||||||||||||||||
| 242 | 0 | ▶ | unless (defined $self->{ _spot_columns }){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 243 | 0 | $self->set_array_layout; | |||||||||||||||||||||||||||||
| 244 | } | ||||||||||||||||||||||||||||||
| 245 | 0 | $self->{ _spot_columns }; | |||||||||||||||||||||||||||||
| 246 | } | ||||||||||||||||||||||||||||||
| 247 | } | ||||||||||||||||||||||||||||||
| 248 | 0 | ▶ | sub spot_rows { | ||||||||||||||||||||||||||||
|
Subroutine
spot_rows: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||||
| 249 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 250 | 0 | ▶ | if (@_){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 251 | 0 | $self->{ _spot_rows } = shift; | |||||||||||||||||||||||||||||
| 252 | } else { | ||||||||||||||||||||||||||||||
| 253 | 0 | ▶ | unless (defined $self->{ _spot_rows }){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 254 | 0 | $self->set_array_layout; | |||||||||||||||||||||||||||||
| 255 | } | ||||||||||||||||||||||||||||||
| 256 | 0 | $self->{ _spot_rows }; | |||||||||||||||||||||||||||||
| 257 | } | ||||||||||||||||||||||||||||||
| 258 | } | ||||||||||||||||||||||||||||||
| 259 | # this only works if the array is sorted by block/spot | ||||||||||||||||||||||||||||||
| 260 | 0 | ▶ | sub set_array_layout { | ||||||||||||||||||||||||||||
|
Subroutine
set_array_layout: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 261 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 262 | 0 | my $aaData = $self->spot_data; | |||||||||||||||||||||||||||||
| 263 | 0 | my $block_row = $self->get_column_id('ROW'); | |||||||||||||||||||||||||||||
| 264 | 0 | my $block_col = $self->get_column_id('COL'); | |||||||||||||||||||||||||||||
| 265 | 0 | my $spot_row = $self->get_column_id('SUBGRIDROW'); | |||||||||||||||||||||||||||||
| 266 | 0 | my $spot_col = $self->get_column_id('SUBGRIDCOL'); | |||||||||||||||||||||||||||||
| 267 | 0 | my $aLast_Row = $aaData->[-1]; | |||||||||||||||||||||||||||||
| 268 | 0 | $self->array_columns($aLast_Row->[$block_col]); | |||||||||||||||||||||||||||||
| 269 | 0 | $self->array_rows($aLast_Row->[$block_row]); | |||||||||||||||||||||||||||||
| 270 | 0 | $self->spot_columns($aLast_Row->[$spot_col]); | |||||||||||||||||||||||||||||
| 271 | 0 | $self->spot_rows($aLast_Row->[$spot_row]); | |||||||||||||||||||||||||||||
| 272 | } | ||||||||||||||||||||||||||||||
| 273 | ### data file fields ### | ||||||||||||||||||||||||||||||
| 274 | 0 | ▶ | sub spot_index { | ||||||||||||||||||||||||||||
|
Subroutine
spot_index: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 275 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 276 | 0 | $self->return_data(shift,$self->get_column_id('SPOTNUM')); | |||||||||||||||||||||||||||||
| 277 | } | ||||||||||||||||||||||||||||||
| 278 | 0 | ▶ | sub block_row { | ||||||||||||||||||||||||||||
|
Subroutine
block_row: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 279 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 280 | 0 | $self->return_data(shift,$self->get_column_id('ROW')); | |||||||||||||||||||||||||||||
| 281 | } | ||||||||||||||||||||||||||||||
| 282 | 0 | ▶ | sub block_col { | ||||||||||||||||||||||||||||
|
Subroutine
block_col: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 283 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 284 | 0 | $self->return_data(shift,$self->get_column_id('COL')); | |||||||||||||||||||||||||||||
| 285 | } | ||||||||||||||||||||||||||||||
| 286 | 0 | ▶ | sub spot_row { | ||||||||||||||||||||||||||||
|
Subroutine
spot_row: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 287 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 288 | 0 | $self->return_data(shift,$self->get_column_id('SUBGRIDROW')); | |||||||||||||||||||||||||||||
| 289 | } | ||||||||||||||||||||||||||||||
| 290 | 0 | ▶ | sub spot_col { | ||||||||||||||||||||||||||||
|
Subroutine
spot_col: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 291 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 292 | 0 | $self->return_data(shift,$self->get_column_id('SUBGRIDCOL')); | |||||||||||||||||||||||||||||
| 293 | } | ||||||||||||||||||||||||||||||
| 294 | 0 | ▶ | sub block { | ||||||||||||||||||||||||||||
|
Subroutine
block: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 295 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 296 | 0 | $self->return_data(shift,$self->get_column_id('BLOCK')); | |||||||||||||||||||||||||||||
| 297 | } | ||||||||||||||||||||||||||||||
| 298 | 0 | ▶ | sub feature_id { | ||||||||||||||||||||||||||||
|
Subroutine
feature_id: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 299 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 300 | 0 | $self->return_data(shift,$self->get_column_id('NAME')); | |||||||||||||||||||||||||||||
| 301 | } | ||||||||||||||||||||||||||||||
| 302 | 0 | ▶ | sub synonym_id { | ||||||||||||||||||||||||||||
|
Subroutine
synonym_id: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 303 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 304 | 0 | $self->return_data(shift,$self->get_column_id('ID')); | |||||||||||||||||||||||||||||
| 305 | } | ||||||||||||||||||||||||||||||
| 306 | 0 | ▶ | sub confidence { | ||||||||||||||||||||||||||||
|
Subroutine
confidence: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 307 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 308 | 0 | $self->return_data(shift,$self->get_column_id('CONFIDENCE')); | |||||||||||||||||||||||||||||
| 309 | } | ||||||||||||||||||||||||||||||
| 310 | 0 | ▶ | sub flag_id { | ||||||||||||||||||||||||||||
|
Subroutine
flag_id: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 311 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 312 | 0 | $self->return_data(shift,$self->get_column_id('FLAG')); | |||||||||||||||||||||||||||||
| 313 | } | ||||||||||||||||||||||||||||||
| 314 | 0 | ▶ | sub man_excl { | ||||||||||||||||||||||||||||
|
Subroutine
man_excl: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 315 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 316 | 0 | $self->return_data(shift,$self->get_column_id('MAN EXCL')); | |||||||||||||||||||||||||||||
| 317 | } | ||||||||||||||||||||||||||||||
| 318 | 0 | ▶ | sub auto_excl { | ||||||||||||||||||||||||||||
|
Subroutine
auto_excl: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 319 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 320 | 0 | $self->return_data(shift,$self->get_column_id('AUTO EXCL')); | |||||||||||||||||||||||||||||
| 321 | } | ||||||||||||||||||||||||||||||
| 322 | 0 | ▶ | sub ch1_mean_f { | ||||||||||||||||||||||||||||
|
Subroutine
ch1_mean_f: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 323 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 324 | 0 | $self->channel1_signal(shift); | |||||||||||||||||||||||||||||
| 325 | } | ||||||||||||||||||||||||||||||
| 326 | 0 | ▶ | sub ch2_mean_f { | ||||||||||||||||||||||||||||
|
Subroutine
ch2_mean_f: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 327 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 328 | 0 | $self->channel2_signal(shift); | |||||||||||||||||||||||||||||
| 329 | } | ||||||||||||||||||||||||||||||
| 330 | # fudge to return some kind of snr value where required | ||||||||||||||||||||||||||||||
| 331 | # quality=PONCH, which is a 0-1 measure of biological signal | ||||||||||||||||||||||||||||||
| 332 | 0 | ▶ | sub channel1_snr { | ||||||||||||||||||||||||||||
|
Subroutine
channel1_snr: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 333 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 334 | 0 | $self->channel1_quality(shift); | |||||||||||||||||||||||||||||
| 335 | } | ||||||||||||||||||||||||||||||
| 336 | 0 | ▶ | sub channel2_snr { | ||||||||||||||||||||||||||||
|
Subroutine
channel2_snr: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 337 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 338 | 0 | $self->channel2_quality(shift); | |||||||||||||||||||||||||||||
| 339 | } | ||||||||||||||||||||||||||||||
| 340 | 0 | ▶ | sub channel1_signal { | ||||||||||||||||||||||||||||
|
Subroutine
channel1_signal: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 341 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 342 | 0 | $self->return_data(shift,$self->get_column_id('AMPCH1')); | |||||||||||||||||||||||||||||
| 343 | } | ||||||||||||||||||||||||||||||
| 344 | 0 | ▶ | sub channel2_signal { | ||||||||||||||||||||||||||||
|
Subroutine
channel2_signal: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 345 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 346 | 0 | $self->return_data(shift,$self->get_column_id('AMPCH2')); | |||||||||||||||||||||||||||||
| 347 | } | ||||||||||||||||||||||||||||||
| 348 | # bluefuse doesn't return a % sat value, | ||||||||||||||||||||||||||||||
| 349 | # and actually can return a signal value higher than 65536 | ||||||||||||||||||||||||||||||
| 350 | # if signal > 65536, we'll call that channel 100% saturated | ||||||||||||||||||||||||||||||
| 351 | 0 | ▶ | sub channel1_sat { | ||||||||||||||||||||||||||||
|
Subroutine
channel1_sat: not called CC=2 SCAR=17.9
| |||||||||||||||||||||||||||||||
| 352 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 353 | 0 | ▶ | if ($self->channel1_signal(shift) > 65536){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 354 | 0 | return 100; | |||||||||||||||||||||||||||||
| 355 | } else { | ||||||||||||||||||||||||||||||
| 356 | 0 | return; | |||||||||||||||||||||||||||||
| 357 | } | ||||||||||||||||||||||||||||||
| 358 | } | ||||||||||||||||||||||||||||||
| 359 | 0 | ▶ | sub channel2_sat { | ||||||||||||||||||||||||||||
|
Subroutine
channel2_sat: not called CC=2 SCAR=17.9
| |||||||||||||||||||||||||||||||
| 360 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 361 | 0 | ▶ | if ($self->channel2_signal(shift) > 65536){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 362 | 0 | return 100; | |||||||||||||||||||||||||||||
| 363 | } else { | ||||||||||||||||||||||||||||||
| 364 | 0 | return; | |||||||||||||||||||||||||||||
| 365 | } | ||||||||||||||||||||||||||||||
| 366 | } | ||||||||||||||||||||||||||||||
| 367 | 0 | ▶ | sub ch1_median_b { | ||||||||||||||||||||||||||||
|
Subroutine
ch1_median_b: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 368 | 0 | 1 | |||||||||||||||||||||||||||||
| 369 | } | ||||||||||||||||||||||||||||||
| 370 | 0 | ▶ | sub ch2_median_b { | ||||||||||||||||||||||||||||
|
Subroutine
ch2_median_b: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 371 | 0 | 1 | |||||||||||||||||||||||||||||
| 372 | } | ||||||||||||||||||||||||||||||
| 373 | 0 | ▶ | sub ratio_ch1ch2 { | ||||||||||||||||||||||||||||
|
Subroutine
ratio_ch1ch2: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 374 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 375 | 0 | $self->return_data(shift,$self->get_column_id('RATIO CH1/CH2')); | |||||||||||||||||||||||||||||
| 376 | } | ||||||||||||||||||||||||||||||
| 377 | 0 | ▶ | sub ratio_ch2ch1 { | ||||||||||||||||||||||||||||
|
Subroutine
ratio_ch2ch1: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 378 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 379 | 0 | $self->return_data(shift,$self->get_column_id('RATIO CH2/CH1')); | |||||||||||||||||||||||||||||
| 380 | } | ||||||||||||||||||||||||||||||
| 381 | 0 | ▶ | sub log2ratio_ch1ch2 { | ||||||||||||||||||||||||||||
|
Subroutine
log2ratio_ch1ch2: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 382 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 383 | 0 | $self->return_data(shift,$self->get_column_id('LOG2RATIO CH1/CH2')); | |||||||||||||||||||||||||||||
| 384 | } | ||||||||||||||||||||||||||||||
| 385 | 0 | ▶ | sub log2ratio_ch2ch1 { | ||||||||||||||||||||||||||||
|
Subroutine
log2ratio_ch2ch1: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 386 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 387 | 0 | $self->return_data(shift,$self->get_column_id('LOG2RATIO CH2/CH1')); | |||||||||||||||||||||||||||||
| 388 | } | ||||||||||||||||||||||||||||||
| 389 | 0 | ▶ | sub log2_ratio { | ||||||||||||||||||||||||||||
|
Subroutine
log2_ratio: not called CC=2 SCAR=17.9
| |||||||||||||||||||||||||||||||
| 390 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 391 | 0 | ▶ | if ($self->flip_flop == 1){ | ||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||
| 392 | 0 | $self->log2ratio_ch1ch2(shift); | |||||||||||||||||||||||||||||
| 393 | } else { | ||||||||||||||||||||||||||||||
| 394 | 0 | $self->log2ratio_ch2ch1(shift); | |||||||||||||||||||||||||||||
| 395 | } | ||||||||||||||||||||||||||||||
| 396 | } | ||||||||||||||||||||||||||||||
| 397 | 0 | ▶ | sub log10ratio_ch1ch2 { | ||||||||||||||||||||||||||||
|
Subroutine
log10ratio_ch1ch2: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 398 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 399 | 0 | $self->return_data(shift,$self->get_column_id('LOG10RATIO CH1/CH2')); | |||||||||||||||||||||||||||||
| 400 | } | ||||||||||||||||||||||||||||||
| 401 | 0 | ▶ | sub log10ratio_ch2ch1 { | ||||||||||||||||||||||||||||
|
Subroutine
log10ratio_ch2ch1: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 402 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 403 | 0 | $self->return_data(shift,$self->get_column_id('LOG10RATIO CH2/CH1')); | |||||||||||||||||||||||||||||
| 404 | } | ||||||||||||||||||||||||||||||
| 405 | 0 | ▶ | sub sumch1ch2 { | ||||||||||||||||||||||||||||
|
Subroutine
sumch1ch2: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 406 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 407 | 0 | $self->return_data(shift,$self->get_column_id('SUM')); | |||||||||||||||||||||||||||||
| 408 | } | ||||||||||||||||||||||||||||||
| 409 | 0 | ▶ | sub log2sum { | ||||||||||||||||||||||||||||
|
Subroutine
log2sum: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 410 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 411 | 0 | $self->return_data(shift,$self->get_column_id('LOG2SUM')); | |||||||||||||||||||||||||||||
| 412 | } | ||||||||||||||||||||||||||||||
| 413 | 0 | ▶ | sub log10sum { | ||||||||||||||||||||||||||||
|
Subroutine
log10sum: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 414 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 415 | 0 | $self->return_data(shift,$self->get_column_id('LOG10SUM')); | |||||||||||||||||||||||||||||
| 416 | } | ||||||||||||||||||||||||||||||
| 417 | 0 | ▶ | sub product { | ||||||||||||||||||||||||||||
|
Subroutine
product: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 418 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 419 | 0 | $self->return_data(shift,$self->get_column_id('PRODUCT')); | |||||||||||||||||||||||||||||
| 420 | } | ||||||||||||||||||||||||||||||
| 421 | 0 | ▶ | sub log2product { | ||||||||||||||||||||||||||||
|
Subroutine
log2product: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 422 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 423 | 0 | $self->return_data(shift,$self->get_column_id('LOG2PRODUCT')); | |||||||||||||||||||||||||||||
| 424 | } | ||||||||||||||||||||||||||||||
| 425 | 0 | ▶ | sub log10product { | ||||||||||||||||||||||||||||
|
Subroutine
log10product: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 426 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 427 | 0 | $self->return_data(shift,$self->get_column_id('LOG10PRODUCT')); | |||||||||||||||||||||||||||||
| 428 | } | ||||||||||||||||||||||||||||||
| 429 | 0 | ▶ | sub y_pos { | ||||||||||||||||||||||||||||
|
Subroutine
y_pos: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 430 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 431 | 0 | $self->return_data(shift,$self->get_column_id('PELROW')); | |||||||||||||||||||||||||||||
| 432 | } | ||||||||||||||||||||||||||||||
| 433 | 0 | ▶ | sub x_pos { | ||||||||||||||||||||||||||||
|
Subroutine
x_pos: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 434 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 435 | 0 | $self->return_data(shift,$self->get_column_id('PELCOL')); | |||||||||||||||||||||||||||||
| 436 | } | ||||||||||||||||||||||||||||||
| 437 | 0 | ▶ | sub channel1_quality { | ||||||||||||||||||||||||||||
|
Subroutine
channel1_quality: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 438 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 439 | 0 | $self->return_data(shift,$self->get_column_id('P ON CH1')); | |||||||||||||||||||||||||||||
| 440 | } | ||||||||||||||||||||||||||||||
| 441 | 0 | ▶ | sub channel2_quality { | ||||||||||||||||||||||||||||
|
Subroutine
channel2_quality: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 442 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 443 | 0 | $self->return_data(shift,$self->get_column_id('P ON CH2')); | |||||||||||||||||||||||||||||
| 444 | } | ||||||||||||||||||||||||||||||
| 445 | 0 | ▶ | sub spot_diameter { | ||||||||||||||||||||||||||||
|
Subroutine
spot_diameter: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 446 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 447 | 0 | return 2*($self->return_data(shift,$self->get_column_id('RADIUS'))); | |||||||||||||||||||||||||||||
| 448 | } | ||||||||||||||||||||||||||||||
| 449 | 0 | ▶ | sub uniformity { | ||||||||||||||||||||||||||||
|
Subroutine
uniformity: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 450 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 451 | 0 | $self->return_data(shift,$self->get_column_id('UNIFORMITY')); | |||||||||||||||||||||||||||||
| 452 | } | ||||||||||||||||||||||||||||||
| 453 | 0 | ▶ | sub circularity { | ||||||||||||||||||||||||||||
|
Subroutine
circularity: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 454 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 455 | 0 | $self->return_data(shift,$self->get_column_id('CIRCULARITY')); | |||||||||||||||||||||||||||||
| 456 | } | ||||||||||||||||||||||||||||||
| 457 | 0 | ▶ | sub grid_offset { | ||||||||||||||||||||||||||||
|
Subroutine
grid_offset: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 458 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 459 | 0 | $self->return_data(shift,$self->get_column_id('GRID OFFSET')); | |||||||||||||||||||||||||||||
| 460 | } | ||||||||||||||||||||||||||||||
| 461 | 0 | ▶ | sub quality { | ||||||||||||||||||||||||||||
|
Subroutine
quality: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 462 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 463 | 0 | $self->return_data(shift,$self->get_column_id('QUALITY')); | |||||||||||||||||||||||||||||
| 464 | } | ||||||||||||||||||||||||||||||
| 465 | 0 | ▶ | sub chromosome { | ||||||||||||||||||||||||||||
|
Subroutine
chromosome: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 466 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 467 | 0 | $self->return_data(shift,$self->get_column_id('CHROMOSOME')); | |||||||||||||||||||||||||||||
| 468 | } | ||||||||||||||||||||||||||||||
| 469 | 0 | ▶ | sub position { | ||||||||||||||||||||||||||||
|
Subroutine
position: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 470 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 471 | 0 | $self->return_data(shift,$self->get_column_id('POSITION')); | |||||||||||||||||||||||||||||
| 472 | } | ||||||||||||||||||||||||||||||
| 473 | 0 | ▶ | sub cyto_locn { | ||||||||||||||||||||||||||||
|
Subroutine
cyto_locn: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 474 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 475 | 0 | $self->return_data(shift,$self->get_column_id('CYTO LOCN')); | |||||||||||||||||||||||||||||
| 476 | } | ||||||||||||||||||||||||||||||
| 477 | 0 | ▶ | sub display { | ||||||||||||||||||||||||||||
|
Subroutine
display: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 478 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 479 | 0 | $self->return_data(shift,$self->get_column_id('DISPLAY')); | |||||||||||||||||||||||||||||
| 480 | } | ||||||||||||||||||||||||||||||
| 481 | |||||||||||||||||||||||||||||||
| 482 | 0 | ▶ | sub omim { | ||||||||||||||||||||||||||||
|
Subroutine
omim: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 483 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 484 | 0 | $self->return_data(shift,$self->get_column_id('OMIM')); | |||||||||||||||||||||||||||||
| 485 | } | ||||||||||||||||||||||||||||||
| 486 | |||||||||||||||||||||||||||||||
| 487 | 0 | ▶ | sub disease { | ||||||||||||||||||||||||||||
|
Subroutine
disease: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 488 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 489 | 0 | $self->return_data(shift,$self->get_column_id('DISEASE')); | |||||||||||||||||||||||||||||
| 490 | } | ||||||||||||||||||||||||||||||
| 491 | 0 | ▶ | sub gc_content { | ||||||||||||||||||||||||||||
|
Subroutine
gc_content: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 492 | 0 | my $self = shift; | |||||||||||||||||||||||||||||
| 493 | 0 | $self->return_data(shift,$self->get_column_id('GC CONTENT')); | |||||||||||||||||||||||||||||
| 494 | } | ||||||||||||||||||||||||||||||
| 495 | 0 | ▶ | sub bad_flags { | ||||||||||||||||||||||||||||
|
Subroutine
bad_flags: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||||
| 496 | 0 | { 'D'=>'1', 'E'=>'1' }; | |||||||||||||||||||||||||||||
| 497 | } | ||||||||||||||||||||||||||||||
| 498 | } | ||||||||||||||||||||||||||||||
| 499 | |||||||||||||||||||||||||||||||
| 500 | 1 | 1; | |||||||||||||||||||||||||||||
| 501 | |||||||||||||||||||||||||||||||
| 502 | __END__ | ||||||||||||||||||||||||||||||