Skip to content

Commit

Permalink
minor update v0.3.77
Browse files Browse the repository at this point in the history
  • Loading branch information
ammaraziz committed May 19, 2022
1 parent 0cf7ed5 commit 0739405
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/zip_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
type: 'tar'
filename: 'latest.tar.gz'
exclusions: '*.git* .'
exclusions: '*.git* . latest.tar.gz'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ if run_mode == 'single':
## Trimming ---------------------------------------------------------------------
if trim_prog not in ['standard', 'tile']:
sys.exit("Configuration incorrect, check 'trim_prog' it must be: standard or tile")
if trim_org not in ['h1', 'h3']:
if trim_org not in ['h1', 'h3', '']:
sys.exit("Configuration incorrect, check 'trim_org' it must be: h1 or h3. bvic is not supported")

if org == 'FLU':
Expand Down Expand Up @@ -199,8 +199,8 @@ if run_mode == 'paired':
R2_out_right = workspace + "qualtrim/{sample}.R2.fastq",
status = workspace + "status/filter_{sample}.txt"
params:
Fadapter = f"bin/adapters/{org}_tile_left_{trim_org}.fa",
Radapter = f"bin/adapters/{org}_tile_right_{trim_org}.fa",
Fadapter = f"bin/adapters/{org}{trim_org}_tile_left.fa",
Radapter = f"bin/adapters/{org}{trim_org}_tile_right.fa",
stats1 = workspace + "logs/trimStats1_{sample}.txt",
stats2 = workspace + "logs/trimStats2_{sample}.txt",
refstats1 = workspace + "logs/trimRefStats1_{sample}.txt",
Expand Down
9 changes: 5 additions & 4 deletions tools/auto_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ status 'Installing wfi'
message 'Attempting to download latest release of wfi'
LATEST_URL=$(curl -s https://api.github.com/repos/ammaraziz/wfi/releases | grep "browser_download_url" | cut -d '"' -f 4 | head -n 1)
NAME_WFI=$(basename $LATEST_URL)
DIR_WFI=$PREFIX/${NAME_WFI/.tar.gz/}


wget -q $LATEST_URL -P $PREFIX
if [[ $? -ne 0 ]]; then
Expand All @@ -233,9 +233,10 @@ if [[ $? -ne 0 ]]; then
fi
message 'Latest version downloaded, attempting to uncompress and setup wfi pipline.'

tar -xf $PREFIX/$NAME_WFI
unzip -q $DIR_WFI/bin/flu-amd.zip -d $DIR_WFI/bin/
bash $DIR_WFI/tools/mod_init.sh -i $DIR_WFI/bin/flu-amd/IRMA_RES/modules/FLU/init.sh
mkdir wfi_latest
tar -xf $PREFIX/$NAME_WFI -C wfi_latest
unzip -q wfi_latest/bin/flu-amd.zip -d wfi_latest/bin/
bash wfi_latest/tools/mod_init.sh -i wfi_latest/bin/flu-amd/IRMA_RES/modules/FLU/init.sh

message "wfi has finished installing!"

Expand Down

0 comments on commit 0739405

Please sign in to comment.