sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
4543b8bb0217493c1d394bf48bda599d3969bd325a1079af66a79a8f20f88e51
Shell
1,157
45
#!/usr/bin/env bash # Copyright 2017 Yiwen Shao # 2018 Ashish Arora nj=4 cmd=run.pl feat_dim=40 fliplr=false augment='no_aug' num_channels=3 echo "$0 $@" . ./cmd.sh . ./path.sh . ./utils/parse_options.sh || exit 1; data=$1 featdir=$data/data scp=$data/images.scp logdir=$data/log mkdir -p $logdir mkdir...
aa1535dbd55ee3ead57d53de8db5e31931641fbbb53d520b4fb837fd915c28fd
Shell
1,157
38
#!/bin/bash # Copyright (c) 2021. Huawei Technologies Co., Ltd. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
e837f48696898fec060943362d540ee44e6e5f8faa9bb70262fa021e2d90166e
Shell
1,157
36
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
6552d5f1f1dfcde520aac4419c3003673989bae3f840b1726a151bf3d35a1ea7
Shell
1,159
35
#!/usr/bin/env bash . conf/common_vars.sh . ./lang.conf set -e set -o pipefail set -u # Wait till the main run.sh gets to the stage where's it's # finished aligning the tri5 model. if [ ! -f exp/combine_2/decode_dev2h/.done ]; then for iter in 1 2 3 4; do local/score_combine.sh --cmd "queue.pl --mem 2G" \ ...
8eb55e0261fa174dc91d2a7f01042cd58d63813e170563fb46157bf0239bb418
Shell
1,160
36
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
9b8e129ccc6d2465be7a4606221d652482cee250a4eaab36ac1acacb4e374415
Shell
1,161
19
# you can change cmd.sh depending on what type of queue you are using. # If you have no queueing system and want to run on a local machine, you # can change all instances 'queue.pl' to run.pl (but be careful and run # commands one by one: most recipes will exhaust the memory on your # machine). queue.pl works with Gri...
d59dad11922d0952044be2fadd0adffe66973ef6f3cfc84715d32ac154a06e85
Shell
1,164
39
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
06b4e9853f7430c5d57fbf61239564e3242f88797f91d48795fad65995f94bf4
Shell
1,166
36
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
0e69207e8ce3d35d39df9beb34c2d5482ea2259718d0bef2342a54e4a41fdcee
Shell
1,167
37
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
886b2a6318a3a52fe2e9947136363132f664d669bf47024a999f493f87adbb3c
Shell
1,168
33
#!/bin/bash # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
d2c6d470dd30c5ffb3ba45653a94215a96c990c473d09ae766ba3ec37a374ec7
Shell
1,170
49
#!/bin/bash # Usage: build_helper_fsts.sh [-m] [-s SCRIPT_DIR] LEX-FILE PH-FILE mswitch="" if [[ $1 == "-m" ]]; then mswitch="-m" shift fi script_dir="" if [[ $1 == "-s" ]]; then script_dir=${2}/ PERL5LIB=$script_dir export PERL5LIB shift 2 fi lex=$1 ph=$2 if [[ ${#ph} -eq 0 ]]; then echo ...
b21652e68ce8a24d3232a2915fd2c5c006ba06d1b4310dcb1f0e8922fe03012c
Shell
1,171
42
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
d9e8c94337fa4d8ef645e1fdcb8362610982579c883113ad4cf58f9c5eebf74d
Shell
1,171
54
#!/usr/bin/env bash # shellcheck source=../utils.sh source $( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )/../utils.sh # Check if there is input [[ ( $# -eq 0 ) ]] && displayhelp $0 1 # Preparing the default values for variables tmp=. ### print input printline=$( basename -- $0 ) echo "${printline}" "$@" # Pa...
18c714c02304ef72be5a287a27a9a1ec3c9e222862925b84e1cf1353ab930574
Shell
1,172
27
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
b5840eb17f3df192d401f218d3b7a2f79dd646936e4fb1ca372302d4105573a5
Shell
1,172
47
#!/bin/bash set -ex # SET THE FOLLOWING VARIABLES # docker hub username USERNAME=fredericklab # image name IMAGE=picachooser # ensure we're up to date git pull # bump version version=`cat VERSION | sed 's/+/ /g' | awk '{print $1}'` echo "version: $version" # run build docker buildx build . \ --platform linux/a...
d3dc1277f1429d0118872cbbb275e2b82d9a07ff38b00518974ff57d22d02950
Shell
1,176
42
#!/bin/bash # Start the first process cd backend ./start_backend.sh &> backend.log & # status=$? # if [ $status -ne 0 ]; then # echo "Failed to start my_first_process: $status" # exit $status # fi cd ../frontend # Start the second process ./start_frontend.sh # status=$? # if [ $status -ne 0 ]; then # echo "Fai...
6398d030c1bf713f8669ae179ac21da6f71fa5a965770f0a793fc2516bc70f03
Shell
1,179
36
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
dc944f688cbac62e2317c37c3e17da5e60b3e2b029f04621bef9d02e953c60b1
Shell
1,180
16
export DYLD_LIBRARY_PATH="/opt/intel/mkl/lib/":"/opt/intel/compilers_and_libraries_2016.1.111/mac/compiler/lib":$DYLD_LIBRARY_PATH cd /groups/umcg-wijmenga/tmp03/users/umcg-svandam/skyMap2/samples500000reads/70percMapping/1_covariance/ /Volumes/Promise_RAID/juha/PCA++/pca evd /groups/umcg-wijmenga/tmp03/users/umcg-svan...
462f77433a74dd293780fcafa8fb4d7e701c5f8c1b96507977a6e86bc4917fb8
Shell
1,182
56
#!/usr/bin/env bash # this script is used for comparing trained models between systems. # e.g. local/nnet3/compare.sh exp/resnet1{b,c}_cifar10 if [ $# == 0 ]; then echo "Usage: $0: <dir1> [<dir2> ... ]" echo "e.g.: $0 exp/resnet1{b,c}_cifar10" exit 1 fi echo "# $0 $*" echo -n "# System " for ...
eea929ff5ec284c1e8df664c015d8c3e53067820b7c04d51d7783affad7356d3
Shell
1,185
51
#! /bin/bash # ============================================================================== # -- Parse arguments ----------------------------------------------------------- # ============================================================================== DOC_STRING="Import maps" USAGE_STRING=$(cat <<- END Usage: $0...
870116a62f12012836ba35b49cacc5472754b329e6d77c66cbe6281863b6559b
Shell
1,190
63
#! /bin/bash # Copyright 2016 Vimal Manohar # Apache 2.0. # This script prepares the North American News Text Corpus # https://catalog.ldc.upenn.edu/LDC95T21 [ -f ./path.sh ] && . ./path.sh . ./cmd.sh set -e set -o pipefail set -u nj=4 cmd=run.pl . utils/parse_options.sh if [ $# -ne 2 ]; then echo "Usage: $0 ...
fd2548ca8c498e6bee781ccf8d070a18d41960a978e2b8903716b1827db373ff
Shell
1,190
45
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
335f7e2ff097e523ac4b73ae54baf6d5a2b5f9d08c0b400c5abf0dae7e4c9b0a
Shell
1,192
39
#!/bin/sh ############################################ # Data used for variant effect prediction ############################################ wget https://zenodo.org/record/1445556/files/variant_effect_prediction_data.tar.gz tar -xzvf variant_effect_prediction_data.tar.gz -C ./1_variant_effect_prediction ##########...
8781b30e137dbb9eab33cb4c854b20ce6aa796bd05d2d511438c27c00a9ed939
Shell
1,193
26
#!/usr/bin/env bash # Self-contained environment for the download-carla skill. # Source before the other scripts: source env.sh # # This skill only fetches CARLA. It builds nothing, launches nothing, and needs no # existing CARLA — it is the step BEFORE every other skill. # # CARLA_DOWNLOAD_DIR where downloads land...
1d7f9e7197e7cd2c87344d8f0c2030cefa1155d633ec986b7fdcc465f013067c
Shell
1,197
40
# ============================================================================== # -- Parse arguments ----------------------------------------------------------- # ============================================================================== DOC_STRING="Retrieve the plugins for CARLA" USAGE_STRING="Usage: $0 [-h|--h...
28f8c39eb9b13dd82e48582be17954f32f4154c8041060973cac822ed44ab30c
Shell
1,197
40
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
728ca6b85e73dfbd2a0a064a7370d3246ce5ab1aa2b39d11a766ab232613f0e1
Shell
1,197
33
#!/bin/bash masif_root=$(git rev-parse --show-toplevel) masif_source=$masif_root/source/ masif_matlab=$masif_root/source/matlab_libs/ export PYTHONPATH=$PYTHONPATH:$masif_source export masif_matlab if [ "$1" == "--file" ] then echo "Running masif site on $2" PPI_PAIR_ID=$3 PDB_ID=$(echo $PPI_PAIR_ID| cut -d"_" -f1) ...
abda1c83fa05c96a2c209958baf1a188e2bb10e87c84da9dced521adf0b18a70
Shell
1,197
39
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 3.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
2e7bb137b373067680c2954eff5bf842ff79c9228629bc845e1298ef92418e17
Shell
1,200
35
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
27385a729eee853660330ea5bf4a694ebe9309e0aec4be098336c3f65ae7a1ec
Shell
1,201
36
#!/usr/bin/env bash # Copyright 2017 Xingyu Na # Apache 2.0 # prepare dict resources . ./path.sh [ $# != 1 ] && echo "Usage: $0 <resource-path>" && exit 1; res_dir=$1 dict_dir=data/local/dict mkdir -p $dict_dir cp $res_dir/lexicon.txt $dict_dir cat $dict_dir/lexicon.txt | awk '{ for(n=2;n<=NF;n++){ phones[$n] = 1...
3e481f9fe12b448045740b82e48a8bafb9ab4a79e8864b50114158fd46658ee2
Shell
1,203
34
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
1342f74d260e575ba629876dcb0d375bc7a5d3a3b9c6306e1359961f2bcaa5e4
Shell
1,206
26
#!/usr/bin/env bash # Self-contained environment for the control-traffic skill (RUNTIME/client). # Source before the skill's other scripts: source env.sh # # Acts on a *running* CARLA server through the Python API — needs an importable # `carla` module and a reachable server, NOT UE4_ROOT or a source checkout. # # C...
1af16f5fb2d6cc4af40dc41ee04c6862cbd6aaab294e948b18997a2dd7f90332
Shell
1,206
28
#!/bin/bash #SBATCH --gres=gpu:1 #SBATCH --mem=32G #SBATCH --cpus-per-task=8 #SBATCH --account=rrg-PIID #SBATCH --time=12:00:00 #SBATCH --mail-user=email@email.com #SBATCH --mail-type=ALL #SBATCH --output=/scratch/authorid/results_brats_rerun/heatmaps/log/%x_%j_%N.out #SBATCH --error=/scratch/authorid/results_brats_rer...
348b8bf19481b30435f742b2dd0fc471bf4c7ce308369cffb50dde0f493a3be4
Shell
1,206
28
#!/bin/bash #SBATCH --gres=gpu:1 #SBATCH --mem=32G #SBATCH --cpus-per-task=8 #SBATCH --account=rrg-PIID #SBATCH --time=12:00:00 #SBATCH --mail-user=email@email.com #SBATCH --mail-type=ALL #SBATCH --output=/scratch/authorid/results_brats_rerun/heatmaps/log/%x_%j_%N.out #SBATCH --error=/scratch/authorid/results_brats_rer...
a03acd5243d406f4fce1fbfc350351f8170accec0a8329924beeab8864f1da31
Shell
1,206
28
#!/bin/bash #SBATCH --gres=gpu:1 #SBATCH --mem=32G #SBATCH --cpus-per-task=8 #SBATCH --account=rrg-PIID #SBATCH --time=12:00:00 #SBATCH --mail-user=email@email.com #SBATCH --mail-type=ALL #SBATCH --output=/scratch/authorid/results_brats_rerun/heatmaps/log/%x_%j_%N.out #SBATCH --error=/scratch/authorid/results_brats_rer...
b78ce9df1a5acdca9d2ad21c2bc7ead5fe208bc422c4272602966565f95b8679
Shell
1,206
28
#!/bin/bash #SBATCH --gres=gpu:1 #SBATCH --mem=32G #SBATCH --cpus-per-task=8 #SBATCH --account=rrg-PIID #SBATCH --time=12:00:00 #SBATCH --mail-user=email@email.com #SBATCH --mail-type=ALL #SBATCH --output=/scratch/authorid/results_brats_rerun/heatmaps/log/%x_%j_%N.out #SBATCH --error=/scratch/authorid/results_brats_rer...
e54f584d917b3ab6c0309e7ed29332976ec36c3fdd05cf77e9fbf228fd232100
Shell
1,206
46
#!/usr/bin/env bash # Copyright 2012 Vassil Panayotov # 2017 Ewald Enzinger # Apache 2.0 # Adapted from egs/voxforge/s5/prepare_lm.sh (commit 1d9b858adc3e23bdbd9bf30231923755a1813cd0) . ./path.sh || exit 1 echo "=== Building a language model ..." data=data/valid_train locdata=data/local # Language mode...
06cbfa4ce6f85360af596e8dcf3708a39f5f42c1d1d71d6ef45470afcc641e6d
Shell
1,207
26
#!/usr/bin/env bash # Self-contained environment for the control-vehicle skill (RUNTIME/client). # Source before the skill's other scripts: source env.sh # # Acts on a *running* CARLA server through the Python API — needs an importable # `carla` module and a reachable server, NOT UE4_ROOT or a source checkout. # # C...
4bd15e2ee26c7c0ebf4e1744b248ca6d691c769343436b5d21a58437ad1c3e36
Shell
1,208
42
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
39048aceaab38feedb1217e9ff677ec43e7007bd224e9d1d323036e5f105a139
Shell
1,209
49
#!/usr/bin/env bash # Copyright 2017 Yiwen Shao # 2018 Ashish Arora # Apache 2.0 # This script runs the make features script in parallel. nj=4 cmd=run.pl feat_dim=40 augment='no_aug' fliplr=false echo "$0 $@" . ./cmd.sh . ./path.sh . ./utils/parse_options.sh || exit 1; data=$1 featdir=$data/data scp...
d3ecf6bac34c498e264bc6b4bd919c4a6530e26be4fd54e3c065d58e4e400b64
Shell
1,209
26
#!/usr/bin/env bash # Self-contained environment for the spawn-vehicles skill (RUNTIME/client). # Source before the skill's other scripts: source env.sh # # Acts on a *running* CARLA server through the Python API — needs an importable # `carla` module and a reachable server, NOT UE4_ROOT or a source checkout. # # CA...
89b2102e5ffeb4de3cfe8c508be678567b8ab8aa4111f3994a408a93d5ec0618
Shell
1,210
35
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
76aad72b185a260500e60dae7409cbbf15f42fc5e995b859f59a0b67b3c2d3c8
Shell
1,211
24
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
db6b0c340b96ba7afa61495b5c75095ca5b171f2d542140a5f62f57d717d8cca
Shell
1,211
40
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
51103a90e5d118750818a6f575d3d08086f5b77cfc68027b7d121372216707b1
Shell
1,212
42
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
8f1a8253736760e9b97c27e12ee8a333c577a2a43523fd44005059cf7c8f83f1
Shell
1,212
43
#!/bin/bash # applicable to Ascend # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
21b152e5f2c23f6186435b7022c44c27b875f1ca9166002057c5963a04b09b60
Shell
1,215
38
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
65410cba79f99430d1d814df64501946b56ac8cc07eba8dc66a3fbaea689ab00
Shell
1,217
30
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
0b3e57f4fcc683d08ed65ec639ed63fba2810d42ffa629fbdafacdd4e43ef60d
Shell
1,219
30
#!/bin/bash # --max_epochs = [40, 50, 60, 70, 80, 90, 100] # --lr = [1e-5, 5e-5, 1e-4, 5e-4, 1e-3, 5e-3] # --batch_size = [4, 5, 6, 8, 12, 16] # --weight_decay = [1e-5, 5e-5, 1e-4, 5e-4] # --random_seed = [-1, 0, 1, 42, 100] # if random_seed=-1, random_seed is unfixed # --data_name = [CT100, P9, P20, P1110] # python t...
2a20585cfd20f2d49e5df03d5da04a2cf69008270ccae727d5b4a936dd58efc1
Shell
1,219
41
#!/bin/bash workdir=protein/other_protein_alignments/PAML/PAML_out_branch_model alns=protein/other_protein_alignments/prank_out declare -a farr=("good_noCuration" "good_curated") declare -a arr=("1") for f in "${farr[@]}" do cd $alns/$f for aln in $(ls *best.nuc.phy ); do echo $aln | cut -d'_' -f 2; done > $workd...
788514c2637b652ae3e5eb179ebf08f98deb773888fcce628129b08e1876b413
Shell
1,225
34
# This contains the locations of the tools and data required for running # the GlobalPhone experiments. export LC_ALL=C # For expected sorting and joining behaviour KALDI_ROOT=/homes/eva/q/qghoshal/src/kaldi/trunk [ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh KALDISRC=$KALDI_ROOT/src KALDIBIN=$KALDI...
6a6d436d84c3d88b36ccab9b7b9c0b026691aba0039b9c784215d857da45bb45
Shell
1,229
46
#!/usr/bin/env bash . conf/common_vars.sh . ./lang.conf train_stage=-10 dir=exp/tri6b_nnet . ./utils/parse_options.sh set -e set -o pipefail set -u dnn_num_hidden_layers=4 dnn_pnorm_input_dim=3000 dnn_pnorm_output_dim=300 dnn_init_learning_rate=0.004 dnn_final_learning_rate=0.001 temp_dir=`pwd`/nnet_gpu_egs ensemb...
1e2698d274fc19d350d4f5724b350ab96c7622e854263ea49a2f68b78e172ece
Shell
1,230
49
#MOLGENIS nodes=1 ppn=1 mem=8gb walltime=23:59:00 ### variables to help adding to database (have to use weave) #string internalId #string sampleName #string project #string uniqueID ### #string stage #string checkStage #string brainDir #string enaSamplesheet #string reads1FqGz #string pythonVersion #Load modules ${st...
43bc23f61e72f01f5d88d662b1cb57f33c44ade237b4aa2d33dce301abd34bf8
Shell
1,230
50
#!/bin/bash # script that start NSP container # Set default values for parameters tag=prod containerName='nsp_genesis' envFile='../../config.nsp' # Process command line arguments while [[ $# -gt 0 ]] do key="$1" case $key in -t|--tag) tag="$2" shift # past argument shift # past value...
f553e159f2b0b3d0cd47b674b2262c478a4aee3e7ed4c6ea41b179723cda7b4a
Shell
1,231
46
#!/bin/bash # Usage # ./SubmitDepict2Run.sh <traitfile> <output dir> <parameterfile> # Traitfile contains per row a path to the depict2 compatible zscore matrix # Parameter file is a bashscript containing the paramters voor een run # TODO: Make these named TRAITS="$1" OUTPUT_DIR="$2" PARAMS="$3" source ${PARAMS} mk...
0744872c996a26bc60a548c41f0a6453189881121594207423ad1bc37c3d1a24
Shell
1,238
64
#!/bin/bash # Copyright 2014 QCRI (author: Ahmed Ali) # Apache 2.0 echo $0 "$@" galeData=$(utils/make_absolute.sh "${@: -1}" ); wavedir=$galeData/wav mkdir -p $wavedir length=$(($#-1)) args=${@:1:$length} # check that sox is installed which sox &>/dev/null if [[ $? != 0 ]]; then echo "sox is not installed"...
3fde98e49ce876edb4ed02c12a4378d395900530e6e7f3d01a176b0be7b6f625
Shell
1,238
48
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
39905d305701bc8d60aba73c801461bca70c24675961758bd91141fdcc66eeac
Shell
1,239
24
#!/usr/bin/env bash numb_of_files=$1 out=$2 aux=$3 in=$4 echo 'Parse the fastq files, filtering and trimming ...' if [[ $numb_of_files == 1 ]]; then # IF SE READS cat $out/filtered.r1.fa | cut -d':' -f-7 | tr '>' '@' | paste - -|awk '{print $1,$NF}'| LC_ALL=C sort --parallel=8 --temporary-directory=$HOME/tmp -...
e1689902cd813312540d13d942c16c1e1f53646a072f0edb33f19d0dbcd16bbe
Shell
1,239
37
#!/bin/bash export LC_ALL=C if [ $# -ne 2 ]; then echo "Usage: recipes/split_ctm_by_session.sh <inputdir> <outputdir>" echo "e.g.: $0 generated/work/2021-01-01 generated/autumn2020" echo echo "This script splits the ctm_edits.segmented, segments, and text files" echo "to session specific files, so...
58edb99e37a346c9d5d439558eccbb556ccc2e253cdb9bae41977a1e73033ed4
Shell
1,240
68
#MOLGENIS nodes=1 ppn=1 mem=1gb walltime=0:10:00 ### variables to help adding to database (have to use weave) #string project ### #string unfilteredBamDir #string mergeBamFilesDir #string sortedBamDir #string markDuplicatesDir #string splitAndTrimDir #string bqsrDir echo "## "$(date)" Start $0" if [ -z "$unfilteredBa...
8c1ea4164b45a38f628ed2369ab29811983e535e550ae1c98afff2a8252c9b75
Shell
1,240
36
# Set environment variables. export MKL_NUM_THREADS=1 export NUMEXPR_NUM_THREADS=1 export OMP_NUM_THREADS=1 # Define constants. MPFCMODS=../../data/models/mPFC/mPFC_GIFs.lmod REPEATS=20 PROCESSES=10 # Generate GIFnet models. python ./generate_mpfc_models.py --mods $MPFCMODS --prefix ../../data/models/GIF_network/mPF...
2ec6fa88a4a92d2feccef3e75f157e20b18217e2bd20779dd3eacc3c361e1820
Shell
1,241
41
PDBID_CHAIN1_CHAIN2=$1 PDBID=$(echo $PDBID_CHAIN1_CHAIN2 | cut -d"_" -f1) CHAIN1=$(echo $PDBID_CHAIN1_CHAIN2 | cut -d"_" -f2) CHAIN2=$(echo $PDBID_CHAIN1_CHAIN2 | cut -d"_" -f3) outdir=03-results/$PDBID_CHAIN1_CHAIN2/ mkdir -p $outdir # Copy target pdb, with surface marked and blocked residues. cp 02-zdock_marked_bloc...
c4ed5b0a5f5d917a80ef40033ec078c0496500dca9ca29154fab1b468c189ffd
Shell
1,243
36
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 3.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
0e8d1deb26efac11bff0555fbdfb932b4955ecb5363fc03e719d9fad4800a78f
Shell
1,245
57
#!/usr/bin/env bash # Copyright 2018 Emotech LTD (Author: Xuechen LIU) # Apache 2.0 # compare wer between diff. models in aishell2 nnet3 directory set -e . ./cmd.sh . ./path.sh if [ $# == 0 ]; then echo "Usage: $0: <dir1> [<dir2> ... ]" echo "e.g.: $0 exp/nnet3/tdnn_sp exp/nnet3/tdnn_sp_pr" exit 1 fi echo "#...
24c10082dd7aae5c37bade21cc34200032fbeeb132337060e0a2f66aebc17e72
Shell
1,246
48
#!/usr/bin/env bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
4f8fab738636273e287986d919a9dcd07f18115b10f2bcc7b7340064a395ea15
Shell
1,248
41
#!/usr/bin/env bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
cacb0337ef62673457b83c1225ee8891997a91c7a367831ff122f884b678d3d2
Shell
1,250
49
#!/bin/bash #coding = utf-8 # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by ap...
b9d286c7012ab7679bbe1655f7318636734492a680b2aae16335a17f08243a5f
Shell
1,251
59
#! /bin/bash # Copyright 2016 Vimal Manohar # Apache 2.0. # This script prepares the 1996 CSR HUB4 Language Model corpus # https://catalog.ldc.upenn.edu/LDC98T31 set -e set -o pipefail set -u nj=4 cmd=run.pl stage=0 [ -f ./path.sh ] && . ./path.sh . utils/parse_options.sh if [ $# -ne 2 ]; then echo "Usage: $0...
33d0eb906eed1e42a20d8be3a613008ce17808ff89076feea643aae63c52c820
Shell
1,252
48
#!/usr/bin/env bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
37afbc499dd5f80b5d033aa9d0bc5687271abcb4c00edd1c51fcfa86faab9e6d
Shell
1,252
36
#!/usr/bin/env bash # Copyright 2016 Pegah Ghahremani # This scripts extracts iVector using global iVector extractor # trained on all languages in multilingual setup. . ./cmd.sh set -e stage=1 train_set=train_sp_hires # train_set used to extract ivector using shared ivector # extractor. ivec...
eb06e62a253f0641020166fe22d77475923cd3e7227fe35c0532528d84812d0a
Shell
1,252
41
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
0ce302e0744f8543ffc89198912770af953e7952e76782a603de7c0d82a47663
Shell
1,253
27
#!/bin/usr/env bash inputfile=$1 # samplesheet.csv inputdir=`dirname $inputfile` # Check fields awk -F ',' '(NF!=5){print "Error: wrong number of columns. Expected 5 and found", NF > "/dev/stderr"; exit 1 }' $inputfile # Check identifier uniqueness awk -F ',' 'BEGIN{n=0;}{vec[n+1] = $2; n++}END{cnt=0;for(i=1; i<=n...
21fc043ca585e1cb8a99c75bd861d434c8218185e04f364b964d267a09976425
Shell
1,254
55
#!/usr/bin/env bash # Copyright (c) 2015, Johns Hopkins University ( Yenda Trmal <jtrmal@gmail.com> ) # License: Apache 2.0 help_message="Converts normal (with word level transcriptions) into syllabic\nExpects 4 parameters:\n" # Begin configuration section. boost_sil=1.0 cmd=run.pl nj=4 # End configuration section . ....
949805eaad058b904840acb65cd699aebcbe9bf4e5d1e21cb9483d6cd6cc789a
Shell
1,257
43
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
cd4f2076a25661d0950f620aaea51fa2ddc1140a6c20a6e793f523edb9ffafb9
Shell
1,260
37
#!/usr/bin/env bash # Copyright 2019 Fei Wu set -eu # Adapted from the local/prepare_dict script in # the librispeech recipe. Download and prepare CMU_dict. # For childresn speech ASR tasks, since the vocabulary in cmu_kids and # cslu_kids is relatively easy comparing to librispeech, we use only the # CMU_dict, and...
921abfa427143426992380831d62e182f5c2fab896671d98fe3480ba298505db
Shell
1,261
48
#!/bin/sh # simple bash script to create a gui 'launcher'. # Location of the launcher can be changed, copy-pasted and moved around # location of the bruker2nifti folder cannot be moved!! DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" PARENTDIR="$(dirname "$DIR")" cd $PARENTDIR echo echo 'Creating virtual e...
dc3ff68a0916ea32789e13bb5a66956e30225121d3b7220087d26a884a9ec4aa
Shell
1,261
48
#!/bin/sh # simple bash script to create a gui 'launcher'. # Location of the launcher can be changed, copy-pasted and moved around # location of the bruker2nifti folder cannot be moved!! DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" PARENTDIR="$(dirname "$DIR")" cd $PARENTDIR echo echo 'Creating virtual e...
26dfa649a9b843bf36e0b44a7e69c29e2bc4d3890a0544b280c9111ea035190c
Shell
1,262
37
#!/usr/bin/env bash # Environment for the audit-carla-docs skill. source env.sh # # Unlike most skills here, this one audits the repository it ships in rather # than acting on an external CARLA instance, so there is no built engine or # running server to resolve. The only root it needs is the carla checkout: # # CAR...
dcf2974ecba126fabf0d7c6743bc21e21ef2610d2c45499fd71728dc91171ed6
Shell
1,262
49
#!/usr/bin/env bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
5ee8af45863f532a24f17f787326b26a47361a65d28c33edad14bfcd16570ac9
Shell
1,263
32
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
e3f91d0bb158ff4fcb4ccfe73f43fa61603e1393071b473f2c43d3081d92d542
Shell
1,263
47
#!/bin/bash # Usage # ./SubmitDepict2Run.sh <traitfile> <output dir> <parameterfile> # Traitfile contains per row a path to the depict2 compatible zscore matrix # Parameter file is a bashscript containing the paramters voor een run # TODO: Make these named TRAITS="$1" OUTPUT_DIR="$2" PARAMS="$3" source ${PARAMS} mk...
0721f4ac8f5093db68300baff56355cfae6888ca5571b138d4364e77f96b60ae
Shell
1,265
43
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
6069d128a5e00cc1930bb3b54d3cf416cd448fc2d6fc60925bb15337d2648aa0
Shell
1,267
31
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
2ebfc7b4dcdd1615050979c16581bdd1dbe33a5738e801b73a1046929fc29e6a
Shell
1,268
46
#!/usr/bin/env bash # Copyright 2013 Johns Hopkins University (authors: Yenda Trmal) # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # THIS C...
390c555334fc197d4c8c1c7c9fb95a1ca37f6e6543e24e28d44f458221ffa363
Shell
1,270
30
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
418518470e8d6afcd17e833fa1cf3d67f10ce05434fb1ff2ede3d6e991c1e21a
Shell
1,270
49
#!/usr/bin/env bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
47da0f0567b78794d765bc37aa631464d974b7c1381c9275763f6dce6f9cb736
Shell
1,271
44
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
59719850e3163f49ad9074f9b478658ab4c9ec68adc2513ac25a50473c199625
Shell
1,272
43
#!/bin/bash -u # Copyright 2015 (c) Johns Hopkins University (Jan Trmal <jtrmal@gmail.com>) # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
64cf662612f0bf02ffef0d2c68140b2d3d31bc9fd8576f2a783f9286982f7f4e
Shell
1,274
47
#!/usr/bin/env bash # Copyright 2012 Johns Hopkins University (Author: Daniel Povey) # Apache 2.0 # Copyright 2015 University of Sheffield (Author: Ning Ma) # Apache 2.0. # # This script computes keyword (letter+digit) recognition accuracies across # SNRs for the 1st CHiME challenge cmd=run.pl [ -f ./path.sh ] &&...
02f3dd51908cd8208fc8f4aa4d93157449216ce576024eecfd3d1c49caf795c6
Shell
1,276
50
#!/bin/bash #SBATCH --job-name=acompcor #SBATCH --time=01:00:00 #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=1 #SBATCH --mem-per-cpu=2gb #SBATCH --account=iacc_nbc #SBATCH --qos=pq_nbc #SBATCH --partition=IB_16C_96G # Outputs ---------------------------------- #SBATCH --output=/home/data/abcd/abcd-hispa...
e78af93e0be8167019eaa8987119458541a9c853bdbd7289ea7cf3f709f2683c
Shell
1,276
37
#!/usr/bin/env bash # Environment for the document-carla-feature skill. source env.sh # # Unlike most skills here, this one edits the repository it ships in rather # than acting on an external CARLA instance, so there is no built engine or # running server to resolve. The only root it needs is the carla checkout: # # ...
24caa7dd7915ac8d44694bd206baf88e33d4db76233b97fa26395bb10802810e
Shell
1,279
28
#!/usr/bin/env bash # Self-contained environment for the set-world-settings skill (RUNTIME/client). # Source before the skill's other scripts: source env.sh # # Acts on a *running* CARLA server through the Python API — needs an importable # `carla` module and a reachable server, NOT UE4_ROOT or a source checkout. # # ...
29a07e0a42ed356fd51dfc79bb017043932c66f30bb967b4f99914808fb977d5
Shell
1,280
45
#!/bin/bash # Copyright 2020-2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
b836790900da2d4bb4ef01a82a31a15d32b8965107f7935bd0f774a65a1fda1f
Shell
1,281
31
#!/bin/bash # Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
db8c98d1940249488781980a177f27f7a9b1011cf58eda72b484940027bcf773
Shell
1,281
36
# Generate the pdbs in the format that zdock needs them. masif_root=$(git rev-parse --show-toplevel) # The route to your zdock directory #zdock_dir=$masif_root/ext_programs/zdock3.0.2_mac_intel/ zdock_dir=./ # The benchmark list benchmark_list=$masif_root/comparison/masif_ppi_search/benchmark_list.txt # Location of sou...
dea4b2843cad14c4f270ec478f68b7265e9ab163e5c2f18dd99178ca8d31b1aa
Shell
1,281
31
#!/bin/bash # Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
df61cb268d3271997736b24bea3614287a93c1d7fd5fbd168c3d24dd5723a56b
Shell
1,283
39
#!/bin/bash # # Copyright 2020 The Kubeflow Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
6ff77a7baae710c6f37d89b2450bf0ec7504760203c9c99953bb264d2914989d
Shell
1,284
22
#!/bin/bash #SBATCH --job-name=avg_fi_amp #SBATCH --output=/scratch/janine.bijsterbosch/WAPIAW_2/task_residuals/log/job_%j.out #SBATCH --error=/scratch/janine.bijsterbosch/WAPIAW_2/task_residuals/log/job_%j.err #SBATCH --time=167:55:00 #SBATCH --cpus-per-task=16 #SBATCH --mem-per-cpu=500MB sub_list=/scratch/janine.bi...
911e60a6bd0b0c2b1bedc1830ab67a030b97305075fbd5583d0c23b6c15ddb65
Shell
1,284
22
#!/bin/bash #SBATCH --job-name=avg_fi_amp #SBATCH --output=/scratch/janine.bijsterbosch/WAPIAW_2/task_residuals/log/job_%j.out #SBATCH --error=/scratch/janine.bijsterbosch/WAPIAW_2/task_residuals/log/job_%j.err #SBATCH --time=167:55:00 #SBATCH --cpus-per-task=16 #SBATCH --mem-per-cpu=500MB sub_list=/scratch/janine.bi...
0267837b7080e21360bc392e139a5000e225902466bd7b47105fc3ef9f9845d7
Shell
1,286
27
#!/bin/bash # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...