sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
47cb40770c1f6602ff939e7d0e8b07808700001338ea55a3607a66108e2d5ba5 | Shell | 1,466 | 64 | ##!/bin/bash
if [ -z $7 ]
then
echo "$0 <min_mapping_threshold> <back_distance> <tt> <read len> <pe bam> <sr bam> <e>"
exit
fi
MIN_MAP_T=$1
BACK=$2
TT=$3
READ_LENGTH=$4
PE_BAM=$5
SR_BAM=$6
E=$7
Z=4
WEIGHT=4
OUT_DIR=`dirname $PE_BAM`
OUT_FILE=`basename $PE_BAM .bam`
MEAN_STDEV=`samtools view $PE_BAM \
| ../scr... |
bc25544a41cef60749b375725214f2e9538ae6f33615042d4dce01e48275e029 | Shell | 1,468 | 51 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# Download zip, tar, or tar.gz file from google drive
# shellcheck disable=SC1091
. ./path.sh || eixit 1
share_url=$1
download_dir=${2:-"downloads"}
file_ext=${3:-"zip"}
if [ "$1" = "--help" ] || [ $# -lt 1 ] || [ $# -... |
ab40761b5d484206eacc983ac752c783bd6b8cae4a401c9b2bd55a82a9c727fb | Shell | 1,470 | 35 | #!/bin/bash
################################################################################
### COPYRIGHT ##################################################################
# New York Genome Center
# SOFTWARE COPYRIGHT NOTICE AGREEMENT
# This software and its documentation are copyright (2023) by the New York
# Geno... |
a04e53aedcebc7eb9ff9df30f74a195c451e3ab2dbf8d77b715f4abf5b469e38 | Shell | 1,472 | 49 | #!/usr/bin/env bash
#
# update_svaba_image.sh — rebuild the svaba worker image from the builder VM.
#
# Stops the builder, deletes the old image, creates a new one, restarts
# the builder. Takes ~2-3 minutes.
#
# Usage:
# update_svaba_image.sh [options]
#
# --builder NAME builder VM name (default: svaba-imag... |
031b25ad3a31eada086f468c727f6c3945caf5684111838eee607167438754f8 | Shell | 1,491 | 31 | #!/bin/bash
source ./utils.sh
# Data path of all the project
echo "Enter the complete data path of the project: "
path=$(get_path ) #E.g. path="/home/brainstimmaps/20xx_Projects/2023_Deep/03_Data"
# Patient subfolder
echo "Enter the patient ID: "
pat=$(get_patient )
pat_exist=$(check_original_data $path/$pat)
echo ... |
43e89d0ec419fb4f08f5db11225dda591c59cb0f20019f9f94bc8f006236fed2 | Shell | 1,492 | 52 | #!/usr/bin/env bash
set -euo pipefail
if (( $# < 1 )); then
echo "Usage: $0 <cmd> [args]"
exit 1
fi
OUT_LOG="memlog.txt"
PLOT="memory.png"
: > "$OUT_LOG"
rm -f "$PLOT"
"$@" &
PID=$!
echo "[$(date)] Started PID $PID: $*" >&2
START=$(date +%s)
LAST_PLOT=$START
while kill -0 "$PID" 2>/dev/null; do
NOW=$(date +%s)
... |
2b86f59e2b162ee64717eb9eed5a9a88525d9730ab6791c19a04ede84b8e5ff3 | Shell | 1,493 | 81 | export CUDA_VISIBLE_DEVICES=0
python -u run.py \
--is_training 1 \
--root_path ./dataset/illness/ \
--data_path national_illness.csv \
--model_id ili_36_24 \
--model Reformer \
--data custom \
--features M \
--seq_len 36 \
--label_len 18 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--facto... |
d72fc0e698eeaabee009dbfcf106cbe0523e8d1b25999f3ef0a2379fed91b7c7 | Shell | 1,493 | 81 | export CUDA_VISIBLE_DEVICES=7
python -u run.py \
--is_training 1 \
--root_path ./dataset/illness/ \
--data_path national_illness.csv \
--model_id ili_36_24 \
--model Informer \
--data custom \
--features M \
--seq_len 36 \
--label_len 18 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--facto... |
917142f5c7a544984e7b0023f0de53b0c1e6843b4d69f6c362a41986fcb19589 | Shell | 1,495 | 81 | export CUDA_VISIBLE_DEVICES=2
python -u run.py \
--is_training 1 \
--root_path ./dataset/electricity/ \
--data_path electricity.csv \
--model_id ECL_96_96 \
--model Informer \
--data custom \
--features S \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor... |
d633145e76cf4190404e3fa6a685425fc75bd99e4da193d7ea35b2a076462899 | Shell | 1,495 | 81 | export CUDA_VISIBLE_DEVICES=2
python -u run.py \
--is_training 1 \
--root_path ./dataset/electricity/ \
--data_path electricity.csv \
--model_id ECL_96_96 \
--model Reformer \
--data custom \
--features S \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor... |
6e314d36cec84b95dbf71b92af3c3b8f5adac5046e07edf4f624c06eb94c7f62 | Shell | 1,501 | 81 | export CUDA_VISIBLE_DEVICES=1
python -u run.py \
--is_training 1 \
--root_path ./dataset/illness/ \
--data_path national_illness.csv \
--model_id ili_36_24 \
--model Autoformer \
--data custom \
--features M \
--seq_len 36 \
--label_len 18 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--fac... |
0941e6edf199f4a30560e0983e53eac86744e2ace8f47cc653cf307801bc5e7a | Shell | 1,505 | 81 | export CUDA_VISIBLE_DEVICES=0
python -u run.py \
--is_training 1 \
--root_path ./dataset/illness/ \
--data_path national_illness.csv \
--model_id ili_36_24 \
--model Transformer \
--data custom \
--features M \
--seq_len 36 \
--label_len 18 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--fa... |
55db02f75dbbee2893cbb59d484807e3f71a0711291009ccb65f27715416a292 | Shell | 1,507 | 81 | export CUDA_VISIBLE_DEVICES=2
python -u run.py \
--is_training 1 \
--root_path ./dataset/electricity/ \
--data_path electricity.csv \
--model_id ECL_96_96 \
--model Transformer \
--data custom \
--features S \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--fac... |
18967f95c8dea26346dd9b87e12d9d75f7bb62d1b431c41b578daf44e1bb88cd | Shell | 1,513 | 83 | export CUDA_VISIBLE_DEVICES=7
python -u run.py \
--is_training 1 \
--root_path ./dataset/weather/ \
--data_path weather.csv \
--model_id weather_96_96 \
--model Reformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor 3 ... |
31e802406d3b7fac85c1bc1d4deb6073ebbea59a4a2398cc32465ec76a53c0fc | Shell | 1,513 | 82 | export CUDA_VISIBLE_DEVICES=0
# multivariate setting of vanilla transformer
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTm1.csv \
--model_id ETTm1_96_96 \
--model Reformer \
--data ETTm1 \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e... |
b653b1085403891e057f270b871eec86c0340e2d66a961cc42f93a297e042813 | Shell | 1,513 | 83 | export CUDA_VISIBLE_DEVICES=7
python -u run.py \
--is_training 1 \
--root_path ./dataset/weather/ \
--data_path weather.csv \
--model_id weather_96_96 \
--model Informer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor 3 ... |
4f2cc1a99bfad7f99bb38ef835af8998a58f5eef48dcb5ca451a851c17578e7d | Shell | 1,516 | 55 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
download_dir=$1
# check arguments
if [ $# != 1 ]; then
echo "Usage: $0 <download_dir>"
exit 1
fi
set -euo pipefail
base_url=http://www.openslr.org/resources/141
parts="dev-clean test-clean dev-other test-other ... |
7f600abab0e4ee9e8989f4799d44ab51033635e976eb7fa5972da59381aa606f | Shell | 1,518 | 39 | #!/bin/bash
set -u
set -e
set -x
version=`grep _versinon main/phylonet/coalescent/CommandLine.java|grep String|sed -e "s/.*= .//g" -e "s/.;//g"`
echo Version $version
cd main
rm -f phylonet/coalescent/*.class phylonet/util/BitSet.class phylonet/tree/model/sti/STITreeCluster*.class phylonet/tree/io/NewickWriter.clas... |
dae2e8de36b41314d8b42a3f0d6083a5c07ba79cc632799c7693aa95aeb3860b | Shell | 1,521 | 83 | export CUDA_VISIBLE_DEVICES=1
python -u run.py \
--is_training 1 \
--root_path ./dataset/weather/ \
--data_path weather.csv \
--model_id weather_96_96 \
--model Autoformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor ... |
358543c8d4eca1bdc90661bcb573077f1db7d5464fab76d8604c254517dc075f | Shell | 1,525 | 82 | export CUDA_VISIBLE_DEVICES=0
# multivariate setting of vanilla transformer
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTm1.csv \
--model_id ETTm1_96_96 \
--model Transformer \
--data ETTm1 \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
... |
48ae7b1c71384a58ae6507bcf9d8fe2c7e7ff027c0c91d5bf669991184d300ce | Shell | 1,525 | 83 | export CUDA_VISIBLE_DEVICES=7
python -u run.py \
--is_training 1 \
--root_path ./dataset/weather/ \
--data_path weather.csv \
--model_id weather_96_96 \
--model Transformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor... |
14d774315e765276c780793f5ecc94242da35252145e4299477f7149de5f073c | Shell | 1,526 | 54 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
db_root=$1
data_dir_root=$2
# check arguments
if [ $# != 2 ]; then
echo "Usage: $0 <db_root> <data_... |
2f698d139f52770264ec3ab4945fa3d8dab17b15a2382e1b8f436b3adeb4c782 | Shell | 1,528 | 82 | export CUDA_VISIBLE_DEVICES=1
python -u run.py \
--is_training 1 \
--root_path ./dataset/electricity/ \
--data_path electricity.csv \
--model_id ECL_96_96 \
--model Autoformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--fac... |
655eeb6db01086f8ad73c75b61498837ead5c00413eb5783a43d1cd70b4fecf2 | Shell | 1,539 | 81 | export CUDA_VISIBLE_DEVICES=4
python -u run.py \
--is_training 1 \
--root_path ./dataset/exchange_rate/ \
--data_path exchange_rate.csv \
--model_id Exchange_96_96 \
--model Autoformer \
--data custom \
--features S \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \... |
2b4c4079512ce5342ec269688173d6c91a0a4a39b39ad0ab7a05d1e417fe6b8f | Shell | 1,544 | 86 | export CUDA_VISIBLE_DEVICES=1
# ETTm1 dataset
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTm1.csv \
--model_id ETTm1_96_96 \
--model Informer \
--data ETTm1 \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
... |
866dc9f6cec7fcf87b08ab0e13062578bbe826cb2455f06025f167399ecf4531 | Shell | 1,552 | 82 | export CUDA_VISIBLE_DEVICES=4
python -u run.py \
--is_training 1 \
--root_path ./dataset/exchange_rate/ \
--data_path exchange_rate.csv \
--model_id Exchange_96_96 \
--model Informer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
... |
5378bf6308aa0ee4191d170f67e0e459a8b3cc44f2b95909ebcdec9b73778f85 | Shell | 1,553 | 83 | export CUDA_VISIBLE_DEVICES=4
python -u run.py \
--is_training 1 \
--root_path ./dataset/exchange_rate/ \
--data_path exchange_rate.csv \
--model_id Exchange_96_96 \
--model Reformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
... |
f303b061a8788d8df67561f5a696939217e4348c933cdafffa1c3b370ce8c705 | Shell | 1,557 | 86 | export CUDA_VISIBLE_DEVICES=2
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTm2.csv \
--model_id ETTm2_96_96 \
--model Autoformer \
--data ETTm2 \
--features S \
--seq_len 96 \
--label_len 96 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor 3 \
... |
0f99aa062a5a0b2f63721784e4554f8235332a424f8bd19c9f78bd18fd95ad73 | Shell | 1,565 | 83 | export CUDA_VISIBLE_DEVICES=4
python -u run.py \
--is_training 1 \
--root_path ./dataset/exchange_rate/ \
--data_path exchange_rate.csv \
--model_id Exchange_96_96 \
--model Transformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1... |
e90a99126179dd113461cd085b0ab0abdaa0cff3b649423e2c238aec0848ace1 | Shell | 1,567 | 30 | #!/bin/bash
source ./utils.sh
# Data path of all the project
echo "Enter the complete data path of the project: "
path=$(get_path ) #E.g. path="/home/brainstimmaps/20xx_Projects/2023_Deep/03_Data"
# Patient subfolder
echo "Enter the patient ID: "
pat=$(get_patient )
pat_exist=$(check_original_data $path/$pat)
echo ... |
3a9490e85ca3efbffc43cd2b5a309535ee9f1f479008a64631fbdee671e824b4 | Shell | 1,582 | 84 | export CUDA_VISIBLE_DEVICES=4
python -u run.py \
--is_training 1 \
--root_path ./dataset/exchange_rate/ \
--data_path exchange_rate.csv \
--model_id Exchange_96_96 \
--model Autoformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 ... |
4f8b10fbfe7f0cd1bbe6d3d39d41fbfb2692e1d529c5c03aa178278ff74b6018 | Shell | 1,588 | 85 | export CUDA_VISIBLE_DEVICES=5
python -u run.py \
--is_training 1 \
--root_path ./dataset/traffic/ \
--data_path traffic.csv \
--model_id traffic_96_96 \
--model Reformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor 3 \... |
f2c3b3099b8bdbf42e37951ba207ba50ab40ad66495af62242e8b32ff60159fd | Shell | 1,588 | 85 | export CUDA_VISIBLE_DEVICES=5
python -u run.py \
--is_training 1 \
--root_path ./dataset/traffic/ \
--data_path traffic.csv \
--model_id traffic_96_96 \
--model Informer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor 3 \... |
c5a6c0386d07f502525c1e65553bb905e79852bf515b10997abf8b757d1fb19d | Shell | 1,590 | 66 | #!/bin/bash
ODBCINST=/etc/odbcinst.ini
ODBC=/etc/odbc.ini
TDS=/etc/freetds/freetds.conf
DNSNAME=semehrdns
SVRNAME=semehrsvr
if [ ! -f "$TDS" ]; then
echo "$TDS not found!"
exit -1
fi
if [ ! -f "$ODBC" ]; then
echo "$ODBC not found!"
exit -1
fi
if [ ! -f "$ODBCINST" ]; then
echo "$ODBCINST not fo... |
55bd4686de1ac60285a4d769a6b31953e593e682aad37abb12bcd1016dd68875 | Shell | 1,594 | 28 | #!/usr/bin/env bash
# Copyright (c) OpenMMLab. All rights reserved.
sed -i '$a\\n' ../../demo/docs/*_demo.md
cat ../../demo/docs/*_demo.md | sed "s/#/#&/" | sed "s/md###t/html#t/g" | sed '1i\# Demo' | sed 's=](/docs/en/=](/=g' | sed 's=](/=](https://github.com/open-mmlab/mmpose/tree/master/=g' >demo.md
# remove /doc... |
c1164db916953c2a31f56c7ff6dd5f2b0227aaaf2aa4c41e9fee97c13c94be30 | Shell | 1,595 | 85 | export CUDA_VISIBLE_DEVICES=6
python -u run.py \
--is_training 1 \
--root_path ./dataset/traffic/ \
--data_path traffic.csv \
--model_id traffic_96_96 \
--model Autoformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor 3... |
d457f17d787ef5295256fe87d4bbb877b9b0fd808ce5d37e8496dc029fb99649 | Shell | 1,600 | 85 | export CUDA_VISIBLE_DEVICES=5
python -u run.py \
--is_training 1 \
--root_path ./dataset/traffic/ \
--data_path traffic.csv \
--model_id traffic_96_96 \
--model Transformer \
--data custom \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 96 \
--e_layers 2 \
--d_layers 1 \
--factor ... |
631fb0fe80b031a3f17a5cbc199deef7b6fa9e60a8b436aa67be207164b563e3 | Shell | 1,607 | 61 | #!/bin/bash
[ "$(id -u)" -eq 0 ] && SUDO="" || SUDO="sudo"
# managing input arguments
while getopts "s:b:r:t:" OPTION; do
case $OPTION in
s) src_dir=${OPTARG};;
t) branch=${OPTARG};;
r) release_dir=${OPTARG};;
b) build_dir=${OPTARG};;
\?) echo "Invalid option: -${OPTARG}" >&2;;
esac
done
if [... |
472e79ca06913a99ca314b54909770ddfb046e5bb10f90491029323789d78163 | Shell | 1,639 | 28 | #!/usr/bin/env bash
# Copyright (c) OpenMMLab. All rights reserved.
sed -i '$a\\n' ../../demo/docs/*_demo.md
cat ../../demo/docs/*_demo.md | sed "s/#/#&/" | sed "s/md###t/html#t/g" | sed '1i\# 示例' | sed 's=](/docs/zh_cn/=](/=g' | sed 's=](/=](https://github.com/open-mmlab/mmpose/tree/master/=g' >demo.md
# remove /do... |
5cf07d001d4206369784c434dd1ed02ad2ccd84c62120188adcb629e3c908aae | Shell | 1,644 | 12 | gpu=0
k_dim=3
k_mode=itx
problem=group-$k_dim-$k_mode
CUDA_VISIBLE_DEVICES=$gpu python3 run.py --problem $problem --num_heads 8 --num_layers 6 --hidden_dim 256 --train_batch_size 16 --epochs 20 --train_warmup_percent 40 --train_data_dirs './data_generation/data0511a' --k_dim $k_dim --k_mode $k_mode --train_data_glob... |
9b44b0a3d1c658d8d0c7607b96552f3bea09741cd1809f41b17a6d5f672d5b3b | Shell | 1,652 | 45 | #!/bin/bash
BASE_DIR="$(dirname "$(readlink -f "${0}")")"
source "${BASE_DIR}/AppRun.env"
# GTK 3 does not consistently map the portal color scheme to a dark theme.
# Set it before GLFW initializes libdecor, unless the user already chose one.
if [[ -z "${GTK_THEME:-}" ]]; then
color_scheme=""
if command -v d... |
e5bfa33c7680c6553e718d263ac157efe712ea17423b51424c357af5bea08b1d | Shell | 1,665 | 16 | #!/bin/bash
gsutil -m cp gs://fc-77539204-5aa7-4c5a-9286-e00ec3aa11b3/r_code/scaso_terra.R ./src/scaso_terra.R
gsutil -m cp gs://fc-77539204-5aa7-4c5a-9286-e00ec3aa11b3/r_output/figure_1.png ./display_items/figure-1.png
gsutil -m cp gs://fc-77539204-5aa7-4c5a-9286-e00ec3aa11b3/r_output/ana_cyno_cerebellum_full.tsv ./da... |
94ea357290097d71c04d5fdd37c3b56d872d34d79fdd80f0c8729107a54f86b0 | Shell | 1,670 | 49 | #!/bin/bash
## run cellBender to remove ambient RNA background
## run this on djembe/tabla where GPU and CUDA were setup correctly
## activate the `CellBender_GPU` conda environment before running this script
# conda activate /home/AD/jchien/.conda/envs/CellBender_GPU
## logging which server and which conda environme... |
df852b2be6b306977d9e633f2c1f0cdae719f350e1484698b1263d8ffaa27ad2 | Shell | 1,671 | 49 | #!/bin/bash
## run cellBender to remove ambient RNA background
## run this on djembe/tabla where GPU and CUDA were setup correctly
## activate the `CellBender_GPU` conda environment before running this script
# conda activate /home/AD/jchien/.conda/envs/CellBender_GPU
## logging which server and which conda environme... |
fa0d00a34db3b9af3ce4530953ac936968c9b5a106337563b6dee23c1b0414ff | Shell | 1,692 | 13 | python train.py --dataroot /research/cbim/vast/qc58/pub-db/MMWHS/processed/fsl/2d --name FSL_exp1 --input_nc 3 --output_nc 2 --model fsl --netG resnet_9blocks --direction AtoB --lambda_L1 100 --dataset_mode fsl3db --pool_size 0 --gpu_ids 4 --batch_size 10 --display_freq 300 --num_threads 0 --norm instance --d_size 3
... |
c6e7acffa3e9bc73da9a988cfd8ed81fa9294c73544f5f9a187c3c2bbfd1c29c | Shell | 1,708 | 58 | #!/bin/sh
set -e -u
DIST_DIR=${1}
# defaults
METHOD=${METHOD:-""}
TASK=${TASK:-""}
echo "checking Python-package distributions in '${DIST_DIR}'"
pip install \
-qq \
check-wheel-contents \
twine || exit 1
echo "twine check..."
twine check --strict "$(echo "${DIST_DIR}"/*)" || exit 1
if { test "${TASK}... |
6b04064b938eebef7c9b4679ebc0c060011c7fbacf1adb424261e88e71c96e33 | Shell | 1,741 | 60 | #!/usr/bin/env bash
#
# gcloud_teardown.sh — kill svaba cloud workers and clean up the bucket.
#
# Usage:
# gcloud_teardown.sh [options]
#
# --id STR analysis ID (default: my_run)
# --partitions N number of workers (default: 5)
# --zone ZONE GCP zone (default: us-central1-a)
# --bucket gs://... |
b793fa23f4be00f3663869098882006dd235fcc4c6efcdbc685549efcd42a190 | Shell | 1,774 | 85 | #!/bin/bash
set -ex
# install pyflakes to do code error checking
echo "pip3 install pyflakes --cache-dir $HOME/.pip-cache"
pip3 install pyflakes --cache-dir $HOME/.pip-cache
# Conda Installation
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/mi... |
79c19a069eacf0bbf96bbdf2f7f2d90e054ee0063380e01207ecd89f0e19f454 | Shell | 1,780 | 75 | #!/usr/bin/env bash
set -euo pipefail
if (( $# < 1 )); then
echo "Usage: $0 <cmd> [args]"
exit 1
fi
OUT_LOG="memlog.txt"
PLOT="memory.png"
# Clean slate
: > "$OUT_LOG"
rm -f "$PLOT"
# Start the users command
"$@" &
PID=$!
echo "[$(date)] Started PID $PID: $*" >&2
START=$(date +%s)
LAST_PLOT=$START
# Monitor u... |
8755aaed22a27f5d8f5fc741602068a27e30e80142a792c8816ac698aa70d956 | Shell | 1,808 | 86 | #!/bin/bash
test -e ssshtest || wget -q https://raw.githubusercontent.com/ryanlayer/ssshtest/master/ssshtest
. ssshtest
set -e
make
if [[ ! -e data/pe.pos_sorted.bam ]]; then
wget http://layerlab.org/lumpy/data.tar.gz
tar xzvf data.tar.gz
fi
_fn_bp_pe_sr() {
set -eo nounset
MIN_MAP_T=$1
BACK=$2
TT=$3
READ_LEN... |
b8663b825280463b888ff1f2d2a63672b2c76cb05d914813e2b10667ac777038 | Shell | 1,828 | 28 | # how to run the NeuronCounting pipeline
# allows you to run this code from anywhere and the internal relative paths still work fine
cd "$(dirname ${BASH_SOURCE[0]})" || exit;
# first, run the environment setup script. This makes sure that the shell and python all know where imaris etc are
source ../environment_setup.b... |
3c0cc94a2d8ed0cd131ad66bb0b400734bf65cfbd838107842fc3b8e59c387bb | Shell | 1,835 | 101 | export CUDA_VISIBLE_DEVICES=2
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTh2.csv \
--model_id ETTh2_96_24 \
--model Autoformer \
--data ETTh2 \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--factor 3 \
... |
94dc59bccbe97567633030fe0beca466d973849755992d239fc0c29d6f7a58fa | Shell | 1,835 | 101 | export CUDA_VISIBLE_DEVICES=1
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTh1.csv \
--model_id ETTh1_96_24 \
--model Autoformer \
--data ETTh1 \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--factor 3 \
... |
87eb8840da7ffe08755014772fc7a7302d176b815cf88dfc1ca8363de958dd44 | Shell | 1,841 | 57 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi, Adapted in 2022 Gunnar Thor Örnólfsson
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
db_root=$... |
18b2299d075b36872d4b08efcceab58ab7cfc0c85f77d15c90fe321e6499add3 | Shell | 1,856 | 48 | #!/bin/bash
PODCAST_ROOT="${PODCAST_ROOT:-/engram/naplab/users/rs4613/Podcast}"
CONDA_ENV="${CONDA_ENV:-/home/rs4613/.conda/envs/audio_tag}"
SIF="${SIF:-/engram/naplab/users/rs4613/vscode.sif}"
#SBATCH --output=wavlm.out # Output log file
#SBATCH --error=wavlm.out # Error log file
#SBATCH --mem-per-cpu=16G
#SBATCH -... |
e12ee91d8ab438f5c1307f2c611bdc51db5e403d01e4cf76cb47aa1476473b9b | Shell | 1,862 | 48 | #!/bin/bash
PODCAST_ROOT="${PODCAST_ROOT:-/engram/naplab/users/rs4613/Podcast}"
CONDA_ENV="${CONDA_ENV:-/home/rs4613/.conda/envs/audio_tag}"
SIF="${SIF:-/engram/naplab/users/rs4613/vscode.sif}"
#SBATCH --output=hubert.out # Output log file
#SBATCH --error=hubert.out # Error log file
#SBATCH --mem-per-cpu=16G
#SBATCH... |
0b0a1ef043670655817e55499efa721f75d02d695c4ba8018d01186dfea30c6b | Shell | 1,873 | 48 | #!/bin/bash
PODCAST_ROOT="${PODCAST_ROOT:-/engram/naplab/users/rs4613/Podcast}"
CONDA_ENV="${CONDA_ENV:-/home/rs4613/.conda/envs/audio_tag}"
SIF="${SIF:-/engram/naplab/users/rs4613/vscode.sif}"
#SBATCH --output=whisper.out # Output log file
#SBATCH --error=whisper.out # Error log file
#SBATCH --mem-per-cpu=16G
#SBAT... |
dc9a26147caba6cb09113765fcb9022f602b60d4f7c3adc506839fc98f49551a | Shell | 1,908 | 106 | export CUDA_VISIBLE_DEVICES=2
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTm2.csv \
--model_id ETTm2_96_24 \
--model Autoformer \
--data ETTm2 \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--factor 1 \
... |
a7a93bc413fac66e33f5cddebc42172b00843dc7256fd24301eb47edbc6620a9 | Shell | 1,910 | 107 | export CUDA_VISIBLE_DEVICES=1
python -u run.py \
--is_training 1 \
--root_path ./dataset/ETT-small/ \
--data_path ETTm1.csv \
--model_id ETTm1_96_24 \
--model Autoformer \
--data ETTm1 \
--features M \
--seq_len 96 \
--label_len 48 \
--pred_len 24 \
--e_layers 2 \
--d_layers 1 \
--factor 3 \... |
75931edd45ed4a1d1ec9b73a120e24797eae3bb483bbf30a46735f6b79b7573c | Shell | 1,912 | 43 | # how to run the NeuronCounting pipeline
# allows you to run this code from anywhere and the internal relative paths still work fine
#cd $(dirname ${BASH_SOURCE[0]}) || exit;
cd $WORKSTATION_CODE/shared/img_processing/NeuronCounting/examples || exit;
# first, run the environment setup script. This makes sure that the s... |
93f902c8ece6b6eaef88acb50183a99532dbdc0d261fd23d73104a52d38416ea | Shell | 1,941 | 65 | #!/bin/bash
#
#$ -q iblm.q
#
#$ -o $HOME/sge/out
#$ -e $HOME/sge/err
#
#$ -t 1-126
#$ -V
#
WASP_DIR=$HOME/proj/WASP/
DATA_DIR=/iblm/netapp/home/gmcvicker/data1/gmcvicker/data/WASP_power_calcs
TASK_LIST=$DATA_DIR/power_sim_params.txt
# add one to task id to skip header line
LINE=$((SGE_TASK_ID + 1))
# read simulati... |
8757ba0cb77979547ae0b3d9b903829063e08a97612032d5e88f962687bf18a1 | Shell | 1,954 | 76 | #!/bin/bash
# Make subset files located in data direcoty.
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
if [ $# -ne 3 ]; then
echo "Usage: $0 <src_dir> <num_split> <dst_dir>"
echo "e.g.: $0 data/train_nodev 16 data/tr... |
d5c965fbfa537c0c2a327b39e476e637b867828b9eb88e6cb0feb7d12a0d5730 | Shell | 1,957 | 76 | #!/bin/bash
# Copyright 2019 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
num_dev=250
num_eval=250
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
db_root=$1... |
b63f08670590c606e338a4707f3aa52a0da734828be87a429c1280dd4857d0a6 | Shell | 1,960 | 76 | #!/bin/bash
# Copyright 2019 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
num_dev=250
num_eval=250
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
db_root=$1... |
01ee28ae8d2ded318bde7d80af5cdd644f8a2406617bf378826792c7e22becac | Shell | 1,965 | 41 | problem="hero"
stamp="20230515-094404"
step=1000000
testdata="data0511a"
savedir="analysis0511a-v4-len"
len_demo_cond_lens=(10 20 30 40 50 60 80 100 200 500)
len_demo_qoi_lens=(10 20 30 40 50 60 80 100 200 500)
len_quest_cond_lens=(10 20 30 40 50 60 80 100 200 500)
len_quest_qoi_len=2600
for index in ${!len_demo_co... |
5b7f6772a3bf6b6bbe42190f055ac57daa118f728576142225b0ba6f6a6a5033 | Shell | 2,017 | 76 | #!/bin/bash
# Combine data direcotries into a single data direcotry
# Copyright 2019 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
if [ $# -lt 2 ]; then
echo "Usage: $0 <dist_dir> <src_dir_1> <src_dir_2> ..."
echo "e.g.: $0 data/all data/spk_1 data/spk_2 data/spk_3"
exit 1
fi
set -... |
79c29db5772d04dc99b126e5387adbc49d558daf068598f3a605aaa99b0672a2 | Shell | 2,041 | 1 | CUDA_VISIBLE_DEVICES=3 python cal_fid.py --real_h5 ../../../../data/datasts/brats/General_format_BraTS18_train_2d_0ch.h5 --fake_h5 ../../../../data/datasets/asdgan_syn/brats_h5_all/brats_resnet_9blocks_epoch10_experiment_0.h5 ../../../../data/datasets/asdgan_syn/brats_h5_all/brats_resnet_9blocks_epoch20_experiment_0.h5... |
059f8e2e6d177033772a5e8299d3243f724b20d8449f0aab0e6c7c9f5ac8621a | Shell | 2,042 | 1 | CUDA_VISIBLE_DEVICES=3 python cal_fid.py --real_h5 /data/datasets/asdgan_data/exp1_heart/train_all.h5 --fake_h5 /data/datasets/asdgan_data/asdgan_syn/heart_h5_all/heart_resnet_9blocks_epoch10_experiment_0.h5 /data/datasets/asdgan_data/asdgan_syn/heart_h5_all/heart_resnet_9blocks_epoch20_experiment_0.h5 /data/datasets/a... |
6c1411b4a773be1e4ad864a1d08d0c8ca61f00c25a275c25a863a6535f61e5d4 | Shell | 2,051 | 1 | CUDA_VISIBLE_DEVICES=3 python cal_fid.py --real_h5 /data/datasets/asdgan_data/exp2_path/for_seg_256/train_all.h5 --fake_h5 /data/datasets/asdgan_data/asdgan_syn/path_h5_all/path_resnet_9blocks_epoch10_experiment_0.h5 /data/datasets/asdgan_data/asdgan_syn/path_h5_all/path_resnet_9blocks_epoch20_experiment_0.h5 /data/dat... |
e578962ff058f5cf83c33713e05d3ce322a2331a2cf7fe7cd25ca0435078e256 | Shell | 2,072 | 31 | #python train.py -c config_files/config_fsl_seg_exp1-fedgan-split.json -d 3
#python train.py -c config_files/config_BRATS_4ch_exp_4_train_val.json -d 0
#python train.py -c config_files/config_fsl_seg_exp1-fedgan.json -d 0
#python train.py -c config_files/config_fsl_seg_exp1-real.json -d 0
python train.py -c config... |
2bed8046f398e7f6784e8dc9f5db504e82769e957ce22d0b8d1449f61fd66e27 | Shell | 2,116 | 87 | set -euo pipefail
export vcf=$1
export bams=$2
export LINES=250
svtpar() {
set -euo pipefail
subvcf=$1
lib=$TMPDIR/tmp.$mypid.$(echo $bams | md5sum | awk '{ print $1 }').lib
svtyper -B $bams -i $subvcf -l $lib
# vcf is a temporary file so clean it up.
# but for the first time, it's and fd fro... |
033b6e4700c5183953a5ce906819d345d1fdf24abebfa238e513ee0ca2cd7751 | Shell | 2,151 | 80 | #!/usr/bin/env bash
# Copyright 2021 Tomoki Hayashi
# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
num_dev=250
num_eval=250
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit... |
76e9aa366757ed4995411cdf51b66850ad9b3e7ae5085f40628067db013d1525 | Shell | 2,181 | 1 | CUDA_VISIBLE_DEVICES=3 python cal_dist_fid.py --real_stats ../asdgan/run/brats/asdgan_mc/experiment_5/client_0_data_stats.npz ../asdgan/run/brats/asdgan_mc/experiment_5/client_1_data_stats.npz ../asdgan/run/brats/asdgan_mc/experiment_5/client_2_data_stats.npz --fake_h5 ../../../../data/datasets/asdgan_syn/brats_h5_all/... |
a7fd160661be10bb839f36e75f685ba1ffeccb4225bbbbac3aa8910d6a4f9eb2 | Shell | 2,275 | 71 | #!/bin/bash
# WHAT IT DOES
# performs eddy current correction, yielding (among the other files) dwi_den_unr_preproc.mif)
# creates a brain mask (dwi_den_unr_preproc_bet_mask.nii.gz)
# WHAT IT NEEDS
# The script Preprocessing.sh already executed
# A good path/pat/DWI/eddy/b0_bet_mask.nii.gz
# (visually inspect with m... |
ba9dc895866ba6f1cdd4064371c2e601561849180fea00c3caae55dca99fc98a | Shell | 2,293 | 83 | #!/bin/sh
# add gene symbols to the counts and TPM matrix
awk 'BGEIN{FS="\t";OFS="\t"}
NR==FNR{a[$1]=$2;b[$1]=$3}
NR>FNR && FNR==1{
x="geneID";
printf x"\t"a[x]"\t"b[x];
for (i=1;i<=NF;i++){
gsub(/\"/,"",$i);
sub(/\/Quant.genes.results/,"",$i);
printf "\t"$i
};
printf "\n"}
NR>FNR && FNR>1{
y=$1;
gsub(/\"/,... |
6cb35c92a145b7aeabc48819f4d19d6528ca69919108169e8e55f98d32db8fec | Shell | 2,338 | 41 | #!/usr/bin/env bash
# Directory $test_data_dir should have contents of supplementary files (File_S1.txt, *.HuRef.*, and RLCRs.txt)
output_dir="reproduce_results_out"
mkdir $output_dir
test_data_dir="test_data"
# Convert raw output files to common format
./convert_CNV_calls_to_common_format.py $test_data_dir/Canvas.... |
bbedf6d49048d23807cb875fec347070c3580ce16da0897aa776989cd692d33f | Shell | 2,338 | 82 | #!/usr/bin/env bash
# Copyright 2022 Gunnar Thor Örnólfsson
# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
download_dir=$1
# check arguments
if [ $# != 1 ]; then
echo "Usage: $0 <download_dir>"
exit 1
fi
set -euo pipefail
cwd=$(pwd)
if [ ! -e "${download_dir}" ]; then
mkdir -p "${download_... |
ef967e66cbeac4a8ae589ab319852c1caffa3d88c65b06a02912dbeab410a77c | Shell | 2,348 | 85 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
db_root=$1
part=$2
data_dir=$3
db_label_root=$4
# check arguments
if [ $# -lt 3 ] || [ $# -gt 4 ]; then... |
7f6964ac91f3fcff3d240114ceefbd0e8e98465c20ac2a825528f4da32cdd32c | Shell | 2,360 | 87 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
fs=22050
num_dev=100
num_eval=100
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
d... |
fb7a22301440eee16ec9c60e63b93444447aaacb00fc987a8c325a9a4a3de19d | Shell | 2,406 | 90 | #! /bin/bash
set -xe
if [[ -z "${TMPDIR}" ]]; then
TMPDIR=/tmp
fi
set -u
if [ "$#" -lt "1" ] ; then
echo "Please provide an installation path such as /opt/ICGC"
exit 1
fi
# get path to this script
SCRIPT_PATH=`dirname $0`;
SCRIPT_PATH=`(cd $SCRIPT_PATH && pwd)`
# get the location to install to
INST_PATH=$1
... |
48e2647e86c67935bcbc0b2574b3553ebfc58e269e4d018dfdc887b0c95958f3 | Shell | 2,408 | 41 | # how to run the NeuronCounting pipeline
# allows you to run this code from anywhere and the internal relative paths still work fine
#cd $(dirname ${BASH_SOURCE[0]}) || exit;
cd $WORKSTATION_CODE/shared/img_processing/NeuronCounting/examples || exit;
# first, run the environment setup script. This makes sure that the s... |
ccbc98e43dbe4a34d6bc4a520a2131177f2ceccc46face8be7823bc06b37f4d2 | Shell | 2,423 | 89 | #!/bin/bash
# Copyright 2019 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
num_dev=500
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
# check arguments
if [ ... |
be6867b15f3fa87dc2dc8bff53bfed16106ea5db9b8a0bbdb186ccdb26f7ad2b | Shell | 2,446 | 75 | #!/bin/bash
# Check that lib_lightgbm has exactly the expected global symbols.
#
# [usage]
#
# # lib_lightgbm.{dll,dylib,so}: exports exactly the symbols in .ci/expected-symbols.txt
# .ci/check-abi.sh lib_lightgbm.*
#
# # R package's shared library: no unexpected symbols (some std:: templates and other
# #... |
6608bb34f029a9ee13f9b17a2011860e6941c5e26bf6c15285bc68b832ee75d6 | Shell | 2,472 | 88 | #!/bin/bash
# Copyright 2019 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
num_dev=10
num_eval=10
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
use_fake_segments=false
# shellcheck disable=SC1091
. utils/parse_options.sh ... |
6a1eccd9306deb3453e0fea12e8fbe07a97098567824a45e42e43ed9216d5e13 | Shell | 2,491 | 58 | #!/bin/bash
## The purpose of this script is to register the HCP_Pipeline derived orig.mgz file of each subject into the subject's b0 diffusion space
## PREREQUISITES:
# 1. Process the T1- and T2-weighted sequences of the Penn subjects using the Human Connectome Project (HCP) pre-processing pipelines: (https://githu... |
ddb399db80b0c0ea819eb898852371364c3bd984e85d933128834001e1b35b88 | Shell | 2,498 | 58 | #!/bin/bash
# The purpose of this script is to compute the average intracortical myelin content on the Human Connectome Project (HCP) subjects
# using the HCP multi-modal (aka Glasser) atlas-defined brain regions.
## PREREQUISITES:
# Before running the script you need to download:
# 1. The publicly available 100 unr... |
f7d22516739fb51da77d1b1df50f187a1873bba4094c886cc90ca71b34b4bffd | Shell | 2,513 | 79 | #!/bin/bash
#
# Linear Sync Toolkit (linsync)
# Copyright (C) 2023 Joseph T. Lizier
# Distributed under GNU General Public License v3
# Modified from Simple cluster jobs framework distributed under GPL by J.T. Lizier
#
# -----------------------------------------------------------------
#
# Submits one job of startProce... |
f9173811dc54dccf4b5a9da2cf9e8c2540ebc3d2195bca5835697d13e17de268 | Shell | 2,523 | 106 | #!/bin/bash
# managing input arguments
#--------------------------------------------------------
usage()
{
cat << EOF
This script detects the operating system and executes the corresponding
builder file.
usage: $0
[[-h]]
[[-s source_directory]]
[[-b build_di... |
8263ea319ec3a4c462c6d6efde169e53a99b6b4aad32844ee91d50b6bf86acf7 | Shell | 2,538 | 72 | #!/bin/bash
# WHAT IT DOES
# estimates the response function
# estimates the fiber orientation distribution
# performs normal intensity normalization
# WHAT IT NEEDS
# The script Preprocessing2EDDY.sh already executed
# A good path/pat/DWI/eddy/dwi_den_unr_preproc_bet_mask.nii.gz
# (visually inspect with mrview and ... |
bfa1eba612f2abbbffb8ebfb8a03a057c2b94ef68dc7f748739b01981dceffa6 | Shell | 2,538 | 64 | #!/bin/bash
################################################################################
### COPYRIGHT ##################################################################
# New York Genome Center
# SOFTWARE COPYRIGHT NOTICE AGREEMENT
# This software and its documentation are copyright (2023) by the New York
# Geno... |
c98005c3457fdde9328774ede0b3e6b53df803feedf6c81aad71abe65f46cd3e | Shell | 2,607 | 93 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
fs=22050
num_dev=5
num_eval=5
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
db_ro... |
d4e0ff091c8f5564187bd2e7bf857eca9ebb8db9eaa694b2dc23a4a585e293a6 | Shell | 2,607 | 93 | #!/bin/bash
# Copyright 2020 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
fs=24000
num_dev=5
num_eval=5
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
db_ro... |
2f69be7c8dfd98049b1c56538ccd45d578fbac37f180e9546194799311dd8490 | Shell | 2,613 | 91 | #!/bin/bash
# managing input arguments
while getopts “s:b:r:t:” OPTION; do
case $OPTION in
s) src_dir=${OPTARG};;
t) branch=${OPTARG};;
r) release_dir=${OPTARG};;
b) build_dir=${OPTARG};;
d) build_type=${OPTARG};;
\?) echo "Invalid option: -${OPTARG}" >&2;;
esac
... |
9191c64595da816578d3569c20fba1d5a8b7f5d65ddb8f5a9b6c55df3e201263 | Shell | 2,629 | 91 | #!/bin/bash
# ============================================================
# Search a BAM for reads matching any of the given sequences
# (or their reverse complements) and write matches to a new BAM.
#
# Usage:
# ./bam_grep.sh <input.bam> <output_prefix> <seq1> [seq2 ...]
#
# Example:
# ./bam_grep.sh tumor.bam egf... |
d3e87f9f86dad69613a283dd1e058cbc33c5a08be0037e26c3ae8ce283860ef3 | Shell | 2,662 | 51 | #!/usr/bin/env bash
# sim_config.sh -- central configuration for the svaba SV simulator.
# Sourced by run_sim.sh and mix_tumor_normal.sh. Override any of these by
# exporting them before invoking, or edit here. All paths may be relative.
# ---- reference + output ----------------------------------------------------
: ... |
bef33838337cecff8eedae2e729abacf9baf5252f0bfc86da961e8346470b5f6 | Shell | 2,680 | 82 | #!/bin/bash
PODCAST_ROOT="${PODCAST_ROOT:-/engram/naplab/users/rs4613/Podcast}"
CONDA_ENV="${CONDA_ENV:-/home/rs4613/.conda/envs/audio_tag}"
SIF="${SIF:-/engram/naplab/users/rs4613/vscode.sif}"
# Fig 5e with the lexical predictability control (Reviewer 1, comment 1.3).
#
# Runs semantics_lexical_layers.py over every la... |
c6e921009644336302a37ca2da36a5de46aaefd059979c4b8bab7076ee0749fe | Shell | 2,686 | 79 | #!/bin/bash
########## LICENCE ##########
# Copyright (c) 2014-2020 Genome Research Ltd.
#
# Author: CASM/Cancer IT <cgphelp@sanger.ac.uk>
#
# This file is part of AscatNGS.
#
# AscatNGS is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published b... |
30c4b742eeca73e30012fda728988f56d03d5b46ba5fcd7853cb1d80854eaff7 | Shell | 2,718 | 93 | #!/bin/bash
# Copyright 2019 Tomoki Hayashi
# MIT License (https://opensource.org/licenses/MIT)
# shellcheck disable=SC1091
. ./path.sh || exit 1;
fs=24000
num_dev=250
num_eval=250
train_set="train_nodev"
dev_set="dev"
eval_set="eval"
shuffle=false
# shellcheck disable=SC1091
. utils/parse_options.sh || exit 1;
d... |
b4d104d0ebc4e29679529b0237bdb9eb2e953e8147d877c425347a60cc3d3e18 | Shell | 2,773 | 53 | # Conservation Law L2 loss with batch size 8 for forward and 8 for reverse
# set "--train_batch_size 2n" for batch size n for forward and n for reverse
python3 run.py --problem 'icon_weno' --epochs 100 --train_batch_size 16 \
--train_data_dirs '/home/shared/icon/data/data0904_weno_cubic' \
--test_data_dirs '/home... |
586891b77ef2a8ad349c307a5b923bb10ca4fa21f0304e03a7a8d860a5a9be7f | Shell | 2,792 | 54 | #!/bin/bash
# WHAT IT DOES
# Creates group avrage response fuctions so as to enable comparison of Fiber Orientation distributions
# Computes individual fiber orientation distribution (FOD) based on common group average
# Performs Intensity normalisation of individual FOD
# WHAT IT NEEDS
# all the scripts of the Diffu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.