Skip to content

Commit 3f0d72a

Browse files
authored
Merge pull request #78 from dufeiyu/bed_update
Minor updates for coverageBed and launcher.pl
2 parents 08c0289 + 2404034 commit 3f0d72a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

accessory_files/MyeloseqHD.16462-1615924889.CoverageQC.hg38.bed

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ chr7 102227364 102227671 CUX1_exon_21 + CUX1 307 ENSG00000257923 ENST00000292535
138138
chr7 102234049 102234242 CUX1_exon_22 + CUX1 193 ENSG00000257923 ENST00000292535 102234051 102234240 3434 1145
139139
chr7 102239317 102239586 CUX1_exon_23 + CUX1 269 ENSG00000257923 ENST00000292535 102239319 102239584 3623 1208
140140
chr7 102248409 102249043 CUX1_exon_24 + CUX1 634 ENSG00000257923 ENST00000292535 102248411 102249042 3888 1296
141-
chr7 140753272 140753395 BRAF_exon_16 - BRAF 123 ENSG00000157764 ENST00000644969 140753274 140753393 1862 621
141+
chr7 140753272 140753395 BRAF_exon_15 - BRAF 123 ENSG00000157764 ENST00000646891 140753274 140753393 1742 581
142142
chr7 148807644 148807708 EZH2_exon_20 - EZH2 64 ENSG00000106462 ENST00000320356 148807645 148807706 2196 732
143143
chr7 148809068 148809157 EZH2_exon_19 - EZH2 89 ENSG00000106462 ENST00000320356 148809070 148809155 2111 704
144144
chr7 148809307 148809392 EZH2_exon_18 - EZH2 85 ENSG00000106462 ENST00000320356 148809309 148809390 2030 677

scripts/launcher.pl

+9-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,14 @@
7070
die "Lane number is expected, Check sample sheet spreadsheet";
7171
}
7272
my ($lane, $flowcell, $lib, $index_str, $exception) = @$row;
73-
$exception =~ s/\s+/_/g if $exception;
73+
74+
if ($exception) {
75+
$exception =~ s/^\s+//;
76+
$exception =~ s/\s+$//;
77+
$exception =~ s/,\s+/,/g;
78+
$exception =~ s/\s+,/,/g;
79+
$exception =~ s/\s+/_/g;
80+
}
7481

7582
if ($exception and $exception =~ /NOTRANSFER/ and $exception =~ /RESEQ/) {
7683
die "$lib has both NOTRANSFER and RESEQ as exception and only one is allowed.";
@@ -81,7 +88,7 @@
8188
#my $id = $lib =~ /^H_|Research/ ? 'NONE' : $mrn.'_'.$accession;
8289
my $id = ($exception and $exception =~ /RESEQ|RESEARCH|NOTRANSFER/) ? 'NONE' : $mrn.'_'.$accession;
8390

84-
($sample) = $lib =~ /^(\S+)\-lib/ if $lib =~ /^H_|Research/;
91+
($sample) = $lib =~ /^(\S+)\-lib/ if $lib =~ /^H_|Research|Positive\-Control/;
8592

8693
unless ($id eq 'NONE') {
8794
unless ($mrn and $accession) {

0 commit comments

Comments
 (0)