Skip to content

Commit

Permalink
data/download_tools_longread.sh: added StraglrOn
Browse files Browse the repository at this point in the history
src/NGS/runqc_parser_ont.php: allow manual exclusion of analysis folders
  • Loading branch information
leonschuetz committed Sep 9, 2024
1 parent 6768396 commit d735ef8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion data/download_tools_longread.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ tar xzf straglr-1.5.1.tar.gz
mv straglr straglr-1.5.1
rm straglr-1.5.1.tar.gz

#TODO: StraglrOn
#download StraglrOn
cd $folder
git clone https://github.com/imgag/StraglrOn.git StraglrOn_v0.2.2
cd StraglrOn_v0.2.2
git checkout "v0.2.2"
cd ..

#download Tandem Repeats Finder
cd $folder
Expand Down
2 changes: 1 addition & 1 deletion src/NGS/runqc_parser_ont.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
if (!ends_with($run_dir, substr($name, 1))) trigger_error("Run folder name ('".basename2($run_dir)."') doesn't match run name ({$name}!", E_USER_ERROR);

// check fcid and raw data folder
$fc_dir = glob("{$run_dir}/*_{$flowcell_id}_*");
$fc_dir = glob("{$run_dir}/2*_{$flowcell_id}_*");
if (count($fc_dir) == 0) trigger_error("Run raw data folder missing or wrong FlowCell ID in NGSD!", E_USER_ERROR);
if (count($fc_dir) > 1) trigger_error("Multiple raw data found!\n".implode(", ", $fc_dir), E_USER_ERROR);
$fc_dir = $fc_dir[0];
Expand Down

0 comments on commit d735ef8

Please sign in to comment.