sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
e32cf65f9f3ef51827272b4082041feb8b0d01e930c7227b9538db247b9c1903
Shell
932
34
#!/bin/bash git clone https://github.com/rcedgar/balifam for x in 100 1000 10000 do mkdir balifam$x mkdir balifam$x/train mkdir balifam$x/refs cp balifam/balifam${x}/in/* balifam$x/train cp balifam/balifam${x}/ref/* balifam$x/refs for file in balifam$x/train/* do mv $file $file.fasta chmod...
a310f2d8957b89664efe5ae7fe97137111206586b0c2b866eb942c9e2b657e36
Shell
935
30
#!/bin/bash # Downloads and extracts the Mid-Air dataset # First argument == path to the desired destination for the dataset # Second argument == path to download_config.txt [ -z "$2" ] && echo "ERROR: No download_config argument supplied" [ -z "$1" ] && echo "ERROR: No dataset destination path argument supplied" if ...
56b97710003937c2273846bcac43b5fb3a9073f2500665c5096c2d80c5d6716c
Shell
938
44
#!/bin/bash #$ -S /bin/bash #$ -cwd #$ -l h_rt=100:0:0 #$ -l h_vmem=18G #S -l mem_free=18G #$ -pe smp 1 #SBATCH -o job.%j.out #SBATCH -J RD_normalization #SBATCH --ntasks 1 #SBATCH --cpus-per-task 1 #SBATCH --mem 18G #SBATCH --time=99:99:99 set -oe pipefail echo "Job started on `hostname` at `date`" ID=${SGE_TASK_I...
b3d7d53c568e8b86e6011c227dc2e0e6d91be573c5b04499eca22adc8846a762
Shell
949
26
#!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licen...
e535011bf98434d46f0380358dfc76b4c85ed21e32f7e41c1962c0ff4216d6a3
Shell
952
28
module load plumed/2.6.0 whole_hills_file="HILLS" equil_time=100000 stride=100000 total_time=$(cat $whole_hills_file | tail -n 5 | head -n 1 | awk '{print $1}') blocks=$( echo "($total_time - $equil_time) / $stride " | bc -l ) blocks=$(printf "%.0f\n" $blocks) echo $blocks for i in $(seq 1 $blocks); #for i in $(se...
b79f1027754898b224ba9c05686c6f152b0407023fb397c8fa83957e39c8ef39
Shell
968
13
#!/bin/bash # rmf 4.1.2020, last modified 5.17.2021 # cleaned up 3.1.2022 ls significanceTestingResults/correctedPvals/*LCs_q0.05_phase*BHFDR* | grep -v InOld >> fileList.hypergeomCorrectedResults.phases.txt ls significanceTestingResults/correctedPvals/*LCs_q0.05_*InOld_maxBG0.5_BHFDR* | grep -v phase >> fileList.hy...
121c5a9b295d6e80d491db1289f66052f44584f7f1a62ce26e4dcf66d8298f3d
Shell
969
40
#!/bin/bash ################################################## # Runs the packages tests ################################################## # check execution arguments while [ "$1" != "" ]; do PARAM=`echo $1 | awk -F= '{print $1}'` case $PARAM in -c | --coverage) export RUN_COVERAGE=1 ...
273ca9bc04181974008a8668b3145c99a548aa1728e1fd0900dd2b8577b8178e
Shell
969
41
#! /bin/bash [ $# -lt 3 ] && { echo 'Usage : $1 = the script to execute $2 = the folder of first parameter for $1 ...'; exit 1; } # We create the log folder if [[ -e $5/logs ]]; then rm -rf $5/logs; fi; mkdir -p $5/logs path=${PWD}/Tools tmp=$path/tmp/tmp_funcon if [[ -e $tmp ]]; then rm -rf $tmp; fi; mkd...
0143a2964875660831cff9da7f47aec586959df24949180243c2a848bf1924ce
Shell
972
23
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
6e44e5eebd183567efe9c46850915f765a8e913cc294ce837838b370511cd0f1
Shell
977
14
if [ -z "$GALAXY_MEMORY_MB" -a -n "$SLURM_JOB_ID" ]; then GALAXY_MEMORY_MB=`scontrol -do show job "$SLURM_JOB_ID" | sed 's/.*\( \|^\)Mem=\([0-9][0-9]*\)\( \|$\).*/\2/p;d'` 2>$metadata_directory/memory_statement.log fi if [ -n "$SGE_HGR_h_vmem" ]; then GALAXY_MEMORY_MB_PER_SLOT=`echo "$SGE_HGR_h_vmem" | sed 's/G...
12284c2ee0f68aa93bc4b42687e166fda3ff5471d22815d0e8c872db5d070a67
Shell
995
24
#!/bin/bash #SBATCH -A C3SE2022-1-16 -p vera #SBATCH -n 20 #SBATCH -t 5-00:00:00 #SBATCH --mail-user=gustajo@chalmers.se #SBATCH --mail-type=end # send mail when job ends # instead of using the "SBATCH -o run_init-X.log" line here, # include the flag "-o run_init-%A_%a.log" in the sbatch submission command: # sbatch...
b3a0a7bbb2179a5da5152dd1d7e87e8986b8295909b7a4d7d24f2caaa279923d
Shell
1,002
22
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
f12700af7b1a92034eac67ce7befaeea459c2d0a6d4ef0f22760d196e60c07bc
Shell
1,010
14
#!/bin/bash # rmf 4.22.2020, last modified 6.18.2021 # cleaned up 3.1.2022 # USAGE: python ../../../scripts/runHypergeomTest1.py <fimo results summary file> <GOI list> <all transcripts file> <median expression file> <max background threshold> <FPKM threshold> <threshold for number of genes in GOI group> # recommend ...
6faa13eded832fbef4cc7af500a163aa1e6c50c4be9bc2424287af34bc6f8334
Shell
1,025
24
#!/bin/bash #SBATCH -A C3SE2022-1-16 -p vera #SBATCH -n 20 #SBATCH -t 5-00:00:00 #SBATCH --mail-user=gustajo@chalmers.se #SBATCH --mail-type=end # send mail when job ends # instead of using the "SBATCH -o run_init-X.log" line here, # include the flag "-o run_init-%A_%a.log" in the sbatch submission command: # sbatch...
1405fedffe1082777051eaece006f98d80dc25246d90231b688cdb56c6918fed
Shell
1,026
50
dataset=$1 device=$2 [ -z "${dataset}" ] && dataset="ogbn-arxiv" [ -z "${device}" ] && device=0 CUDA_VISIBLE_DEVICES=$device \ python main_large.py \ --device 0 \ --dataset $dataset \ --mask_type "mask" \ --mask_rate 0.5 \ --remask_rate 0.5 \ --num_remasking 3 \ --in_drop 0.2 \ --attn_drop 0.2 \ --num_layer...
c07d85c173c36bce87d79a2a9c9345c12031c9d4c298ff6d10075218b685f806
Shell
1,039
13
# rmf 1.25.2021, last modified 4.12.2021 # gene ID and symbol, keep header for first one awk -F '\t' '{print $1 "\t" $2}' ELCs_q0.05_phase0-12.txt > rhythmic_phase0-12_transcriptIDs.txt awk -F '\t' 'NR >1 {print $1 "\t" $2}' RLCs_q0.05_phase0-12.txt >> rhythmic_phase0-12_transcriptIDs.txt awk -F '\t' 'NR >1 {print $1 ...
75d37da11d1619e05db63e9182702a0faba57c0ec92b81d6cd8a5483e0770652
Shell
1,042
25
#! /bin/bash # Copyright (C) 2021 Eugenio Piasini. # # This file is part of metex. # # Metex is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
3aa226e5b6a7e59fe99a2c7ed28d60d2cd2f0ef6ab950e180ef103f09f984938
Shell
1,043
33
#!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licen...
5061f11280a1811e45ccafe7a559407bc3f61c2825ea43f930599d2206704424
Shell
1,047
25
#!/bin/bash #SBATCH -A C3SE2023-1-17 -p vera #SBATCH -n 20 #SBATCH -t 5-00:00:00 #SBATCH --mail-user=gustajo@chalmers.se #SBATCH --mail-type=end # send mail when job ends # instead of using the "SBATCH -o run_init-X.log" line here, # include the flag "-o run_init-%A_%a.log" in the sbatch submission command: # sbatch...
b051ab346e3ab823fbdf0b0f1154efd8b9bf9a4ab861d159cf76f217c0c19ec0
Shell
1,050
27
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
26b4150c2d915d22022110332f27377bc60e7349240dc07f3a586919ebb23ffe
Shell
1,052
22
#!/bin/bash FILE=$1 if [[ $FILE != "ae_photos" && $FILE != "apple2orange" && $FILE != "summer2winter_yosemite" && $FILE != "horse2zebra" && $FILE != "monet2photo" && $FILE != "cezanne2photo" && $FILE != "ukiyoe2photo" && $FILE != "vangogh2photo" && $FILE != "maps" && $FILE != "cityscapes" && $FILE != "facades" && $F...
5a2da14192cf40387d8f8e92266dda9213c813651b0c5aec8a2e9badf62f5c63
Shell
1,052
24
#!/bin/bash FILES=`ls -1 /dhcp/dhcp_fmri_pipeline/*/*/func/*brainmask.nii.gz | head -n 50` mkdir -p /dhcp/scanner_positioning/resliced for FILENAME in $FILES; do SUBJ=$(echo $FILENAME | cut -d"/" -f4) SESS=$(echo $FILENAME | cut -d"/" -f5) echo $SUBJ $SESS mkdir -p /dhcp/scanner_positioning/resliced/...
76bda5e592eb2c5568e3825577db31093f07baccf1a3a917dd1dac5aff1ee1ed
Shell
1,060
22
#!/bin/bash case $1 in chunk_ccs) python3 -u chunk_ccs.py ${@:2} ;; merge_ccs) python3 -u merge_ccs.py ${@:2} ;; match_contins) python3 -u match_contins.py ${@:2} ;; seg_graph_ccs) python3 -u seg_graph_ccs.py ${@:2} ;; chunk_seg_map) python3 -u chunk_seg_map.py ${@:2} ;; ...
41cf50c564ea8e554612c3d76605a7dcc466f116f448cd1d4bf5ffe92b696262
Shell
1,062
29
#this will take a list of pca files with their last frame corresponding to the most extreme of the desired pca vector. it will then cat them together and make them readable to plumed. the occ and beta stuff is to fix plumed's hacky indexing rules. #second argument $2 is the reference system #usage # bash plumed_scr...
5776eeb2e8a00735c329409184fc75f92d843c8aff4415a1b27e08a10233ae95
Shell
1,065
32
#!/bin/bash HOMFAM="../../data/homfam/train/*.fasta" BALIFAM100="../../data/balifam100/train/*.fasta" BALIFAM1000="../../data/balifam1000/train/*.fasta" BALIFAM10000="../../data/balifam10000/train/*.fasta" BALIFRAG="../../data/balifrag/train/*.fasta" mkdir -p alignments mkdir -p times run () { for f in $1 do...
c4148aa00237539cf2d2b2cc4bb0b033c8896b4c520d518b6c4b2f586b102580
Shell
1,069
48
#!/bin/bash # configuration for Gene Ontology files GO_OBO_FILE=go-basic.obo GOSLIM_OBO_FILE=goslim_generic.obo GO_OBO_DOWNLOAD=http://purl.obolibrary.org/obo/go/go-basic.obo GOSLIM_OBO_DOWNLOAD=http://www.geneontology.org/ontology/subsets/goslim_generic.obo # if the gene ontology files don't exist, download them if...
856e938dbc719c0296aa3c147580bf226e934770d1046a866a7480fa10ff6e72
Shell
1,082
29
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
5524a78211666c1935dcb5f12bc9e4b6c76c1d51d64e70c18ebe19f6ae6dd9ec
Shell
1,084
31
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
d2f81b635c0be7050a1770ef60620205373269c5111fe965fff66653eb8f227f
Shell
1,094
26
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
2680c3c7f2ec6ec0a150e3816a48de8467f8591d2cafa9f1453b8027a5d34e1c
Shell
1,110
31
#!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licen...
495b896c1c87a8aec76ef89923e99cf7f2c6dceb53ed3844fc8df72b84b9d1bb
Shell
1,116
19
python learnMSA/hmm/tf/fit_dirichlet.py ~/src/snakeMSA/data/homstrad/aligned_3Di --alphabet 3di \ --name homstrad_3Di_1_20 --pattern *.fasta --num-runs 5 \ -c 1 --neff-prior-conc 1 --epochs 1000 --verbose --min-count 3 python learnMSA/hmm/tf/fit_dirichlet.py ~/src/snakeMSA/data/homstrad/aligned_3Di --alphabet 3di \...
583761618c048bf7a415e467fa28e7485557309d4b8f0bdcf4b33e6b4b07c992
Shell
1,149
32
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
1863ac5a8b2ba4fce72c647e8f01face5c3a28da3db990fd436b26bb442d80ea
Shell
1,160
21
#!/bin/bash #SBATCH --output=./mafft.%A_%a.log #SBATCH -J mafft ...
87a55b488778d050c7e96ea4db041837eb7cb0842a25ba83a920c571560020ca
Shell
1,166
38
#OAR -O /srv/tempdd/egermani/Logs/job_%jobid%.output #OAR -E /srv/tempdd/egermani/Logs/job_%jobid%.error # Parameters expe_name="data_selection_neurovault" main_script=$HOME/Documents/transfer_decoding/src/autoencoder_training.py echo "Create dir for log" CURRENTDATE=`date +"%Y-%m-%d"` echo "currentDate :" echo $CURR...
9bc16a8a7c62d9f95b538d4b42f35121ca4293a1da229727ffa997b430da8656
Shell
1,168
27
#!/bin/bash # Build a tsne-cuda Python wheel inside a CUDA build container. # $1 = CUDA local-version tag (e.g. cu129) # $2 = base version (e.g. 4.0.0) # The wheel is written to /wheels. Wheels are py3-none-any: libtsnecuda.so is # dlopened via ctypes, so a single wheel works across all Python 3.x for a g...
380c06e727686fbd375720e686a5dc3ef2121e1746daee2c8e9d08b2334afc95
Shell
1,169
22
## Parâmetros FinetuningStrategy="LM" # LM our Downtask embedding='RoBERTa' # RoBERTa ou BERT OU BERTweet OU Static NameTag="RoBERTa"${FinetuningStrategy} #tag dos arquivos e modelos salvos seed=1234 dirBase="/Users/sergiojunior" evaltype='normal' InputAval="dataset_consolidado_ppbase_2.csv" #path to evaluation step O...
392f300cc33f2060989a1bbd152433b5705dba3ba7cfb7ddd910d970808c45e3
Shell
1,171
15
# rmf 12.2.2019, last modified 4.6.2020 # cleaned up 2.28.2022 # USAGE: python runFimo_userMotifs.py <MEME motif file> <list of MEME motif IDs to run> <sequence file> <outbase> <options> # fly factor survey python ../../scripts/runFimo_userMotifs.py ../fly_factor_survey.meme ../motifList_fly_factor_survey.txt ../../p...
da8562a0a848825c36a8d40ad542e65ebfae77ac8b30509902dffd60c3f7b6e8
Shell
1,173
32
#!/usr/bin/env bash # Regenerates tests/golden from an installed Kraken 2. # # Usage: tests/update_golden.sh INSTALL_DIR # # Run this only when a change to classification or report output is intended. # It reruns tests/e2e.sh with E2E_UPDATE_GOLDEN=1, which copies each output to # tests/golden instead of comparing, the...
512982cb823cf45302f394adcbc62a4dd2c64f31add7ee326736bbf0fb237cd4
Shell
1,174
27
#!/bin/bash #### All original code is copyright of Graham King, Trinity College Institute of Neuroscience, 12/2021. # Edit input file below <48preterm or 48term> # Eidt output .txt file below <48preterm or 48term> cd /dhcp/fmri_anna_graham/GKgit/head_position/HEADCOIL/participant_files/ while IFS= read -r line do ...
55e881f7976724c815da4287206ba50a4f3953905a08338c5004cd6401eecc79
Shell
1,181
46
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
8101e2c94f79bcc67e896d340759cabc8f4d37ef470768feac9474dbe3edb83f
Shell
1,197
27
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
0eae4e2ea7978b579eb6f52a51e30c8c383ce9215ee8e558515faaea7af8b735
Shell
1,201
30
#!/bin/sh cd /Users/szhang32/Desktop/INTACT6/Mutually_exclusive_index D1K4Peak="/Users/szhang32/Desktop/INTACT5/peak/D1_H3K4me3_peaks.narrowPeak" D1K27Peak="/Users/szhang32/Desktop/INTACT6/peak/D1_27me3_Active_merged-W200-G600-FDR0.01-island.bed" cut -f 1-3 $D1K4Peak > D1_K4.bed cut -f 1-3 $D1K27Peak > D1_K27.bed ###...
5ef0eda07a7f18c6294a12ec7f925cd22a934e1401cbf51b48fb4f72e2444336
Shell
1,203
34
savename="t5-large" evalset="test" batchsize=4 task="NLU" ckp="~/ivcds/baselines/trained_models/NLU-t5-large/" echo "Model '"$ckp"' evaluating on task '"$task"' with '"$evalset"' set" python run_eval.py $ckp $task/$evalset.source predictions/$task-$savename-$evalset.txt \ --reference_path $task/$evalset.target \ ...
eeecbad2f438ff69a83956a29608702130265b82860b3df1100c2ac81691688c
Shell
1,210
29
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
b860488d16c646357ee532547eb030ccf6da579579ffb98a50217f8b92b5ca90
Shell
1,215
28
#result stored in datasets/ ./generate_training_input.pl all_HLs_human_PC1.txt | gzip -c >all_HLs_human_featTable.txt.gz Rscript calc_kmer_freqs.R #manually added 1st column name to seqFeatWithKmerFreqs.txt gzip seqFeatWithKmerFreqs.txt #result stored in datasets/ # Benchmark the following models: # B: basic general ...
62537b9e7bfb9101c7a99c3983d29aa69243d9d520d0d6a543c989c35b6b2295
Shell
1,217
37
#!/bin/bash #SBATCH --time=1:00:00 #SBATCH --mem=8GB #SBATCH --cpus-per-task=8 #SBATCH -J fba_2 ########## Average FRFs across sites ########## # Get variables from config config=/PATH/TO/config source $config # Stop on error set -eu echo "AVERAGING TISSUE RESPONSES" pushd $outdir declare -a sites=("SI" "CUNY" "CBI...
7777e7e33996296ce1c1b9c39c58e01d4845c6191f9c91f77b905bf2555ef85b
Shell
1,227
43
#!/bin/bash #SBATCH --account=rlmolecule #SBATCH --time=1:00:00 #SBATCH --job-name=gridworld_example # --- Policy Trainer --- #SBATCH --nodes=1 #SBATCH --gres=gpu:2 # --- MCTS Rollouts --- #SBATCH hetjob #SBATCH -N 1 export WORKING_DIR=/projects/rlmolecule/dbiagion/rlmolecule/examples/gym/ export START_POLICY_SCRIPT="...
689fd89f5dd1c5faf9a40e166934c8374f076e5e789557b210aae5a339308d08
Shell
1,228
34
#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); ...
d36e0f74c48bc16b67bd776c0d44f682b073ef7ab892dded09552f61a6e30af7
Shell
1,229
28
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
9d1f433787b418d229520ce12ce8dfd2f06f82473691e2e94ef75ea6954b739b
Shell
1,230
30
#!/bin/sh cd /Users/szhang32/Desktop/INTACT6/Mutually_exclusive_index A2aK4Peak="/Users/szhang32/Desktop/INTACT7/peak/A2a_H3K4me3_peaks.narrowPeak" A2aK27Peak="/Users/szhang32/Desktop/INTACT6/peak/A2a_27me3_Active_merged-W200-G600-FDR0.01-island.bed" cut -f 1-3 $A2aK4Peak > A2a_K4.bed cut -f 1-3 $A2aK27Peak > A2a_K27....
78bfbab75bf599fd3084ea58f9292bf4a4eaf86e9152a5dc4a4e044fb7db3363
Shell
1,250
42
#!/bin/bash config=/PATH/TO/config source $config fn_py="$base/code/fba/ConFixel/confixel/fixels.py" # path to fixels.py from ConFixel relative_root="$outdir/template" # Where fba template files are #Get list of metrics, loop through metrics declare -a metrics=("fd" "fdc" "log_fc" "fa_DKI" "kfa_DKI" "md_DKI" "mk_DKI"...
59af0256e0b14ab669d40b4d82f3669557c2b3163d0ebed2855386f285129337
Shell
1,253
24
#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); y...
a5a295e2b5bf8b664d4695f5f640dd327e87a966a4de906d9a907e0456e79d29
Shell
1,254
44
#!/bin/bash # RUN PROCESSING STEPS THAT RUN ON PARTICIPANTS INDIVIDUALLY IN PARALLEL # Get variables from config config=/PATH/TO/config source $config subjs=$@ # Get subject names pushd $qsiprep_dir subjs=($(ls sub*/ -d)) subjs=("${subjs[@]///}") popd # take the length of the array # this will be useful for indexin...
8a4c0c73ca1a326867a22db44a13d57e0111e39c2d85410647d60813d5b3bd56
Shell
1,259
41
#!/bin/bash #SBATCH --partition=debug #SBATCH --account=rlldrd #SBATCH --qos=high #SBATCH --time=1:00:00 # start with 10min for debug #SBATCH --job-name=gridworld_example_debug #SBATCH --nodes=1 #SBATCH --gres=gpu:1 #SBATCH --ntasks=9 #SBATCH --cpus-per-task=4 export START_POLICY_SCRIPT="$SLURM_SUBMIT_DIR/$JOB/.polic...
aeb0a7bc77ab8610a9f26a026d414da7a501ffb2a92dd1769b96518a4b64a4f7
Shell
1,262
41
#!/bin/bash HOMFAM="../../data/homfam/train/*.fasta" BALIFAM100="../../data/balifam100/train/*.fasta" BALIFAM1000="../../data/balifam1000/train/*.fasta" BALIFAM10000="../../data/balifam10000/train/*.fasta" BALI...
c31585e076be921371874489dcc0302e7efb4ee6ca8fe10bdfaf12a3a044f8f0
Shell
1,279
46
#!/bin/bash # # Copyright (c) 2020 10x Genomics, Inc. All rights reserved. # # Environment setup for package cellranger-atac-1.2.0. # Source this file before running. # # Determine path to this script; resolve symlinks SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" > ...
b4c6c36ae4d244a2744cc2d37b8418bb63a907353b12f4b44014cc97979a321e
Shell
1,284
36
#!/bin/bash set -e source venv/bin/activate echo "==================================" python mnist_generate_echo_ds.py bin 8 2 true & echo "==================================" python mnist_generate_echo_ds.py bin 12 2 true & echo "==================================" python mnist_generate_echo_ds.py bin 16 2 true & ech...
02839b45da7d4de3ae014cda92e99d9d54c4027a16694bba0d551e81d2e8a903
Shell
1,285
30
#!/bin/sh cd /Users/szhang32/Desktop/INTACT6/Mutually_exclusive_index NAcK4Peak="/Users/szhang32/Desktop/public_ChIP_seq/H3K4me3/peak/NAc_H3K4me3_saline_no_input_top_20000_peaks.narrowPeak" NAcK27Peak="/Users/szhang32/Desktop/public_ChIP_seq/H3K27me3/peak/N2a_H3K27me3_merged-W200-G600-FDR0.01-island.bed" cut -f 1-3 $N...
ca8ac17c1b65f1e1c8cf764c41cc08d16c198fcc0a87e194dfbe36d0800ee990
Shell
1,285
40
#!/bin/bash #SBATCH --time=3-00:00:00 #SBATCH --mem=20GB #SBATCH --cpus-per-task=8 #SBATCH -J smriprep set -eu # Stop on errors ##### CHANGE THESE VARIABLES AS NEEDED ###### IMG="" # path to smriprep container scratch="" # path to working directory ############################################# # Import arguments fro...
665a4ea4998452da4787cf836c7f850b50c4f0aa2d703252c79c7a0fe1a1378c
Shell
1,290
22
#!/bin/bash #SBATCH --output=./mafft.%A_%a.log #SBATCH -J mafft ...
e5a6d273c602bbcd1395083fbfc87b4767f0d9d5e999ccdd092ea25fedceb6fc
Shell
1,290
45
#!/bin/sh case "$1" in galaxy|"") SCRIPT=./run.sh PORT=8080 LOGFILE=galaxy.log GRAVITY_LOGFILE=database/gravity/log/gunicorn.log SUPERVISORD_LOGFILE=database/gravity/supervisor/supervisord.log ;; reports) SCRIPT=./run_reports.sh PORT=9001 L...
11a7c4aecb0b721c6150063655348472fd9b666f5be0bdfb0dd3e88b288668d5
Shell
1,296
34
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
0c5afcbff7d2db85a242685240374cb211d918a565cca9454524d0e206165490
Shell
1,305
29
#result stored in datasets/ ./generate_training_input.pl all_HLs_mouse_PC1.txt | gzip -c >all_HLs_mouse_featTable.txt.gz Rscript ../calc_kmer_freqs.R #replace input file with that of mouse #manually added 1st column name to seqFeatWithKmerFreqs.txt gzip seqFeatWithKmerFreqs.txt #result stored in datasets/ # Benchmark...
2d9ca95485e7082d64bb789f2c00dea097bc4b965750a01a2d28c967cf03ebbe
Shell
1,309
71
#!/bin/bash source activate_venv.sh datadir=data/ outdir=data/MLP_validation/ method='resampling' # method='naive' nfolds=5 nlayers=3 nunits='200 500 1000' L2='0 1e-6 1e-3' dropout=0 nepochs=200 learningrate='1e-1 1e-2 1e-3 1e-4 1e-5' optimizer='SGD AdamW' seed=1 if [ $method = 'resampling' ]; then python3 ml...
b72baafb2f4128e984f5f35064873d35f8d956e829dab6b4b264fbe8736332a9
Shell
1,330
22
#!/bin/bash #SBATCH --output=./learnMSA.%A_%a.log #SBATCH -J learnMSA ...
0af045094a7837ea42b04780bf105996de49b10e839dac1440b7830cf71e307f
Shell
1,337
36
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
f2f97242f8b3d3884dcac48c3f4c7aedb3681c07f71aad3535fb67c23931e3ee
Shell
1,339
46
#!/bin/bash # package the build artifacts set -ex . "$(dirname $0)/utils.sh" # Generate artifacts for release mk_artifacts() { cargo build --target "$TARGET" --release } mk_tarball() { # When cross-compiling, use the right `strip` tool on the binary. local gcc_prefix="$(gcc_prefix)" # Create a temp...
0a3b32c26d9844d0c277f4f2ed33b7907d1f3c303fda60823433a8013703fb96
Shell
1,360
40
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
fa6a003ee3fa6487807a60b4281f4eb697757037f7328d1116e5b2b43241cd0b
Shell
1,363
34
#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); ...
8dca7267ed102a08f463c844fba9c9feb9e7a9d6ad3e68983d900c3dfb017a45
Shell
1,365
41
#!/bin/bash #SBATCH --time=12:00:00 #SBATCH --mem=20GB #SBATCH --cpus-per-task=16 #SBATCH -J fba_8b ########## Segment tracts on FOD template and make masks out of them ########## # Get variables from config config=/PATH/TO/config source $config # Stop on error set -eu echo 'GENERATING PEAKS FROM TEMPLATE FODS' $mr...
9edc3bb97062bac2f8451b58c0cfd3df9c27ecd9dfab946e1b570b1bd49a6939
Shell
1,366
24
#! /bin/bash # Using info from # https://stackoverflow.com/questions/35350607/ffmpeg-add-text-frames-to-the-start-of-video # https://stackoverflow.com/questions/22710099/ffmpeg-create-blank-screen-with-text-video # https://stackoverflow.com/questions/8213865/ffmpeg-drawtext-over-multiple-lines # FIRST RUN ../render_S...
bfc8cbb040a73321c7c9e2e562f9c968705f34dc91b01b49417dafbf1e92bfbf
Shell
1,371
24
#!/usr/bin/env bash CENTOS_VERSION=${1:-"7"} # Shouldn't influence on the results. We need it only to unpack AppImage. Better to keep 7 for manylinux2014 MANYLINUX_VERSION=${2:-"2014"} # This means that downloaded python version has been built in CentOS...
d4b4ade9c79743b3401cc5a89fd018437d4f034e32ff36ed58e83e11afb5cf34
Shell
1,379
32
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
3b7f6ac42ae1e73aa8d06d4f89f18b91916f153b030e9c01e15d41959b6b5fc6
Shell
1,382
27
#!/bin/bash # Copyright 2019 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e shopt -s nullglob knownfolders="$(printf '%s\n' "/mnt/c/Program Files (x86)/Windows Kits/"/*/Include/*/um/KnownFolders.h | sort -Vr | head -n ...
e90e313493b39721cdce4b2f8f5fbb737e11c0502a1dcf3f9f35af7d2c774140
Shell
1,384
47
#!/bin/bash # ---------------------------------------------------------------------------- # build_AHBA_data # Author: Antoine Beauchamp # # Pipeline to generate necessary data files from the Allen Human Brain Atlas # # Pipeline steps: # 1. Download the AHBA ontology and microarray data sets from the web # 2. Build th...
11b957b89c255b961cb8e3ae89fe327cd37c43f6109e5a6884e03ac5037da570
Shell
1,396
70
#!/bin/bash echo "------------ start --------" root_path=/li_zhengdao/dataset proj_path=/li_zhengdao/github/GGN k=$1 if [ ! -n "$k" ];then k="train" fi echo $k pid=$(ps -ef | grep seizure | grep -v grep | awk '{print $2}') if [ -n "$pid" ]; then echo "running seizure: $pid" kill -9 $pid echo "killed!...
7f3328f2d16db56142692a59a7d145ab18fb7c5d605924f1b06efacbb65c9b55
Shell
1,400
42
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
37786d8709e79240585b0fe361b9461cc0fc809e7b55650c92024f1f9a9e1a97
Shell
1,405
45
#!/bin/bash # The IPython image starts as privileged user. # The parent Galaxy server is mounting data into /import with the same # permissions as the Galaxy server is running on. # In case of 1450 as UID and GID we are fine, because our preconfigured ipython # user owns this UID/GID. # (1450 is the user id the Gala...
f29bfa8ae2f12f6f00356b4542680bc0ba9904bdaa7be8e24426e6308643ec11
Shell
1,411
46
#!/usr/bin/env bash # -*- coding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License,...
a52bebca0801a4ee3c442baa5a29532cc77eee111c3f350cf6ea8797a5875208
Shell
1,412
41
#!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licen...
b6670dbeaf562d146efbf20503bf124886e2a145b12805a3e57f838f4d716db5
Shell
1,415
44
#!/bin/sh #BSUB -J D1_A2a_K4_const_TSS_density_plot #BSUB -oo D1_A2a_K4_const_TSS_density_plot.o #BSUB -eo D1_A2a_K4_const_TSS_density_plot.e #BSUB -B #BSUB -N #BSUB -M 10000 #BSUB -u Shuo.Zhang@Pennmedicine.upenn.edu #BSUB -W 20:00 date cd /project/eheller_itmat_lab/shuo/INTACT5/density_plot regions="/project/ehe...
77e99932f650647de241f239e7786b1fbd9955832d722e71c46ef46cd7c78ea6
Shell
1,419
56
#OAR -O /srv/tempdd/egermani/Logs/job_%jobid%.output #OAR -E /srv/tempdd/egermani/Logs/job_%jobid%.error output_file=$PATHLOG/$OAR_JOB_ID.txt # Parameters expe_name="cnn_training" main_script=/srv/tempdd/egermani/self_taught_decoding/src/cnn_training.py echo "Create dir for log" CURRENTDATE=`date +"%Y-%m-%d"` echo "...
82af0f24c922f52d19fdd6832a9a5505624fc9442f7a4c92e31d9966ed9f00f4
Shell
1,425
43
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
2b5e6f185030853fd45fe261f5121282c7a01d41b03095f7d7965c9b14d751e5
Shell
1,426
36
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
5add3081dc61a3c139a1b55e49505a9cc8c0c223b04549cce94763c8a67e7f51
Shell
1,426
38
#!/bin/bash #SBATCH --time=3-00:00:00 #SBATCH --mem=20GB #SBATCH --cpus-per-task=8 #SBATCH -J qsiprep set -eu # Stop on errors ##### CHANGE THESE VARIABLES AS NEEDED ###### IMG='' # put path to qsiprep docker image here scratch='' # assign working directory ############################################# # Import argum...
1f273af9aacaf76343a03a7e5b9b2edc1e7d6f4d36c400ef42c591026f543fd1
Shell
1,430
30
#!/bin/bash #SBATCH --time=24:00:00 #SBATCH --mem=64GB #SBATCH --cpus-per-task=16 #SBATCH -J fba_8a ########## Run tractography on FOD template and smooth fixel-metrics based on fixel connectivity ########## # Get variables from config config=/PATH/TO/config source $config # Stop on error set -eu echo "GENERATING T...
29e4d5e99e245f2ad4517b52487f33bf26922dc841038df1ecdf42b373b3c8c2
Shell
1,430
61
#! /bin/bash [ $# -lt 3 ] && { echo 'Usage : $1 = the script to execute $2 = the folder of first parameter for $1 ...'; exit 1; } # We create the log folder if [[ -e "$3"/logs ]]; then rm -rf "$3"/logs; fi; mkdir -p "$3"/logs path=${PWD}/Tools tmp="$path"/tmp/tmp_disco if [[ -e "$tmp" ]]; then rm -rf "$tm...
7a33512a918861e9abd3a0dc3c9fa436288337f35b348e1073dbcad98c035dcc
Shell
1,442
31
#!/bin/bash #### All original code is copyright of Graham King, Trinity College Institute of Neuroscience, 12/2021. # snrTRUE split_a/split_b are sampled to give SNRtrue values: # Graham King 08/2022 TCIN cd /dhcp/fmri_anna_graham/GKgit/head_position/HEADCOIL/participant_files/ while IFS= read -r line do SUBJ=$...
7135875da7009a06ff04e091a47ab2d7a1003a7079e41d1b024d498adfba80b5
Shell
1,448
38
#!/bin/bash #SBATCH --time=48:00:00 #SBATCH --mem=100GB #SBATCH --cpus-per-task=32 #SBATCH -J fba_4 ########## Generate study-specific FOD template ########## # Get variables from config config=/PATH/TO/config source $config # Stop on error set -eu # Make directories for template subject inputs mkdir -p $outdir/tem...
e53d5a904ccf2f545835a7b38092ec20d03e9d90e4b1916bed2b0e14ab1d4447
Shell
1,453
34
#!/bin/bash #SBATCH --time=1:00:00 #SBATCH --mem=12GB #SBATCH --cpus-per-task=8 #SBATCH -J fba_5 ########## Register subjects to FOD template ########## # Get variables from config config=/PATH/TO/config source $config # Stop on error set -eu # Get subject name from job array args=($@) subjs=(${args[@]:0}) sub=${su...
0a600c00a6d52854cb1cd77f0c4b37c64815779158b97d5d7bddf2e9552b1353
Shell
1,455
58
#!/bin/bash # Repackage SPM12 upstream sources, strip unnecessary files, and convert zip into # tar.gz archive. # # The script also determines a version of the respective SPM source snapshot. # # # Usage: # repack.sh <spm12.zip> # set -e ORIGSRC=$1 if [ -z "$ORIGSRC" ]; then echo "No upstream sources given." exit...
15c0e223b7f738412660daa00d136e6609ba0b579c6a4734bb1f619d48aeb164
Shell
1,456
34
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
80a529266d9276399adc013875d8951979a960efb2e495b47084ea44c6ee1a8e
Shell
1,456
35
#plumed driver --mf_xtc memb_prod1.xtc --plumed plumed_scripts/reweight.dat --kt 2.57748353 bmax=`awk 'BEGIN{max=0.}{if($1!="#!" && $4>max)max=$4}END{print max}' COLVAR_reweighted` pca1_max=`awk 'BEGIN{max=0.}{if($1!="#!" && $2>max)max=$2}END{print max}' COLVAR_reweighted` pca2_max=`awk 'BEGIN{max=0.}{if($1!="#!" &&...
01d5e6a265d64ce32f90c840256a2c499463b69e0d25059fbf9788cfee2bf88e
Shell
1,470
40
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
a6ea60c45734569dbc411864f0935f3e71db76c009d9c8df7447614cf44af7cd
Shell
1,470
36
#!/usr/bin/env bash # Builds dist/design-sync/ui — the compiled @humansignal/ui package design-sync bundles. # Run from services/lso/web. Output: index.cjs + icons.cjs + style.css + assets/ (vite, same # pipeline as the reference storybook) and types/ (tsc declarations). set -euo pipefail cd "$(dirname "$0")/../.." OU...
704b899b76a12ec4a84dfd2b49f6188ec682176de2d4c2787d8d4eaad6653a5d
Shell
1,480
45
#!/usr/bin/env bash # -*- coding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License,...
1cb226df471cca282d9d44fdf1cdecfd71b6ceea75e9343e03bad76acc0a5666
Shell
1,483
39
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
49d82bca6742fc0c10ac80e8bb0c8a9c5286f0e57cf4bcc1b064cbd6c45baec5
Shell
1,496
41
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lic...
453a5ee1620b2af2bb7955f8e60ba49696e0e67adc46a851011dcaccde2be400
Shell
1,502
50
#!/bin/bash #$ -S /bin/bash #$ -cwd #$ -l h_rt=100:0:0 #$ -l h_vmem=4G #S -l mem_free=4G #$ -pe smp 1 #SBATCH -o job.%j.out #SBATCH -J mosdepth #SBATCH --ntasks 1 #SBATCH --cpus-per-task 1 #SBATCH --mem 4G #SBATCH --time=99:99:99 set -oe pipefail echo "Job started on `hostname` at `date`" ID=${SGE_TASK_ID}${SLURM_AR...
f57227b3b4a2b24ba709be25baee4468c0900be8c6d9dfebe4b111754ce1c526
Shell
1,505
42
#!/bin/sh #BSUB -J merged_QN_H3K27me3_const_TSS_density_plot #BSUB -oo merged_QN_H3K27me3_const_TSS_density_plot.o #BSUB -eo merged_QN_H3K27me3_const_TSS_density_plot.e #BSUB -B #BSUB -N #BSUB -M 10000 #BSUB -u Shuo.Zhang@Pennmedicine.upenn.edu #BSUB -W 20:00 date cd /project/eheller_itmat_lab/shuo/INTACT6/density_...