File tree 2 files changed +11
-7
lines changed
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 8
8
"MyeloseqHD.DataTransfer" :" true" ,
9
9
"MyeloseqHD.MinReads" :5 ,
10
10
"MyeloseqHD.MinVaf" :0.02 ,
11
- "MyeloseqHD.Queue" :" gtac-mgi " ,
11
+ "MyeloseqHD.Queue" :" pathology " ,
12
12
"MyeloseqHD.JobGroup" :" /cle/wdl/haloplex"
13
13
}
Original file line number Diff line number Diff line change 131
131
die " $lib has invalid MRN: $1 MRN must be either a 10-digit number starting with 99 or a 9-digit number starting with 1i or 2" ;
132
132
}
133
133
134
+ if ($exception =~ / NOTRANSFER/ and $exception =~ / RESEQ/ ) {
135
+ die " $lib has both NOTRANSFER and RESEQ as exception and only one is allowed." ;
136
+ }
137
+
134
138
my $id = $mrn .' _' .$accession ;
135
139
unless (exists $hash {$id }) {
136
- if ($exception and $exception =~ / NOTRANSFER/ ) {
137
- print " $id is NOTRANSFER and no-matching of CoPath dump is ok\n " ;
140
+ if ($exception and $exception =~ / NOTRANSFER|RESEQ / ) {
141
+ print " $id is NOTRANSFER or RESEQ and no-matching of CoPath dump is ok\n " ;
138
142
}
139
143
else {
140
144
die " FAIL to find matching $mrn and $accession from CoPath dump for library: $lib " ;
144
148
my ($index ) = $index_str =~ / ([ATGC]{8})AT\- AAAAAAAAAA/ ;
145
149
146
150
if ($exception ) {
147
- if ($exception =~ / NOTRANSFER/ ) {
148
- push @cases_excluded , $lib .' _' .$index ;
149
- $exception =~ s / ,?NOTRANSFER// ;
151
+ if ($exception =~ / NOTRANSFER|RESEQ/ ) {
152
+ $exception =~ s / ,?(NOTRANSFER|RESEQ),?// ;
150
153
$exception = ' NONE' if $exception =~ / ^\s *$ / ;
151
154
}
155
+ push @cases_excluded , $lib .' _' .$index if $exception =~ / NOTRANSFER/ ;
152
156
}
153
157
else {
154
158
$exception = ' NONE' ;
162
166
die " Unknown gender: $sex for library: $lib " ;
163
167
}
164
168
}
165
- else { # NOTRANSFER
169
+ else { # NOTRANSFER RESEQ
166
170
($mrn , $accession , $sex , $DOB ) = (' NONE' ) x 4 ;
167
171
}
168
172
You can’t perform that action at this time.
0 commit comments