Skip to content

Commit

Permalink
Merge pull request #23 from dufeiyu/white_space
Browse files Browse the repository at this point in the history
Remove white spaces from lane, flowcell, index and set dragen-3 as default dragen queue
  • Loading branch information
dufeiyu authored Dec 9, 2024
2 parents cbbdfdb + 24462e2 commit 54bee1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Soma.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"Soma.DragenMEM":"200 G",
"Soma.DragenEnv":"LSF_DOCKER_DRAGEN=y",
"Soma.DragenDockerImage":"gtac-mgi-dragen(apldx/oracle8-dragen-4.3.6)",
"Soma.DragenQueue":"dragen-2",
"Soma.DragenQueue":"dragen-3",
"Soma.Queue":"gtac-mgi"
}
1 change: 1 addition & 0 deletions scripts/QC_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def get_sample_list(directory):
total_giga_bases= []

for sample_name in sample_list:
sample_name = sample_name.replace(" ", "")
search = os.path.join(out_dir, f"{sample_name}*")
sample_dir = glob.glob(search)[0]
if not os.path.isdir(sample_dir):
Expand Down
6 changes: 5 additions & 1 deletion scripts/launcher.pl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@
}
my ($lane, $flowcell, $name, $index, $exception) = @$row;

$name =~ s/\s+//g;
$name =~ s/\s+//g;
$lane =~ s/\s+//g;
$index =~ s/\s+//g;
$flowcell =~ s/\s+//g;

if ($samples{$name}) {
die "There are multiple $name in $ss sheet";
}
Expand Down

0 comments on commit 54bee1f

Please sign in to comment.