sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
e631019f65a0d35617e18036598c01dc42d00fda4ebebf0394b37ca92a4660d7 | Shell | 193 | 7 | #!/bin/sh
cat ORI/build5_locus.gff3 > genes.gff
cat ORI/build5_genes.gff3 | ./mRnaAddParent.pl >> genes.gff
echo "###" >> genes.gff
echo "##FASTA" >> genes.gff
cat ORI/IRGSPb5.fa >> genes.gff
|
d8763979d4a4e7e1803d31fe930e24fffdc340701566d41a9bcc385b19746f96 | Shell | 194 | 5 | cd toy_data/tomograms/Tomo1/
unzip membranes.zip
wget https://ftp.ebi.ac.uk/pub/databases/emdb/structures/EMD-10780/map/emd_10780.map.gz
gzip -d emd_10780.map.gz
mv emd_10780.map Tomo1_bin4.map
|
87d71b603d81fb8eea7116625cece1d71ec5a7acf9e7eff9ed7be2e97fe6af95 | Shell | 198 | 4 | python launcher_scripts/run_from_config.py configs/glacier/joint_train_nist20.yaml
# contrastive finetune
python launcher_scripts/run_from_config.py configs/glacier/joint_contr_finetune_nist20.yaml |
84e745406de87ea7a85826f662877fa619796629277d5b3f8f5bb56f598fe917 | Shell | 200 | 5 | . data_scripts/dag/run_magma.sh
. run_scripts/GLACIER/add_inten.sh
. run_scripts/GLACIER/01_train_joint.sh
python run_scripts/GLACIER/02_predict_inten.py
python run_scripts/GLACIER/03_run_retrieval.py |
95c7264ac808185378a00106470f794dc715454d8c989a38b53532ee5fb20b0d | Shell | 200 | 13 | #!/bin/bash -eu
set -o pipefail
rm -rvf site/
mkdocs build
cp -vf src/docs/index.html site/
cd ~/workspace/SnpEff
rm -rvf docs/*
cp -rvf ~/snpEff/site/* docs/
./git/commit 'Documentation updated'
|
3528b7931f8e308677638895b7044e93b755b01e186171de32c16f0dd51ecabc | Shell | 201 | 7 | set -e
./get_gm12878.sh 10000 0
./get_gm12878_inter.sh 1000000
python ../minimds_inter.py --partitioned -l 10 -o hic_data/GM12878_combined hic_data/GM12878_combined 1000000 10000
python3.6 fig10.py
|
c1aa2b57122e9d647886265f4dca14f920125e1241ceb19c8d86b99f55980ae2 | Shell | 201 | 9 | #!/bin/bash
DIR=$1
if test "x$CMD" = "x"
then
CMD="/usr/bin/python3 ./muller.py"
fi
valgrind --tool=verrou --exclude=exclude.ex --rounding-mode=random --vr-instr-scalar=yes ${CMD}> $DIR/res.dat
|
96ebc077d80df5957e80c4ae6d9dbd56e78f24dd3918a12d62dd27b0e57b3ba0 | Shell | 202 | 6 | #!/bin/bash
# DATADIR="/home/mcarilli/Desktop/pt18data/apex_stale/examples/imagenet/bare_metal_train_val/"
# DATADIR="/opt/home/apex/examples/imagenet/"
cp ../common/* .
bash run_test.sh single_gpu $1
|
e823d91675a96edcb06c3ce2f2df32a3dcb757a1f23c1edaf0baa667ba7cb27a | Shell | 203 | 10 | #!/bin/bash
lang=$1
model_path=$2
tasks=arc_${lang},hellaswag_${lang},mmlu_${lang}
device=cuda
python main.py \
--tasks=${tasks} \
--model_args pretrained=${model_path} \
--device=${device}
|
f62ae4a8f77a27d0e1acb6ed8f85e9a33ae1c7d307f06783b0462d2304168b74 | Shell | 206 | 11 | #!/bin/bash
module load bedtools
l="../../../loops"
# neither anchors overlap,
bedtools pairtopair -type neither -a ../w4_fx_nx_linked.bedpe -b $l/w0_mustache_10kb.bedpe > w4_fx_nx_no_w0_loops.bedpe
|
c4ce8edb13ab3e1730efae195eea2d472b4f65847d043ad480313702585f7988 | Shell | 211 | 4 | printf "# date: $(date)\n" > AUTHORS
printf "# this file is auto-generated by scripts/gen-authors.sh\n\n" >> AUTHORS
git log --format='%an <%ae>' --reverse --date=short v2 | awk '!seen[$0]++' | sort >> AUTHORS
|
31459400f468d3c1c474a634155f83fc80943ed8a3f2a7421c4f6d537fa2b495 | Shell | 213 | 11 | #!/bin/bash
#MSUB -l nodes=1:ppn=16:gpu,walltime=2:00:00:00
#MSUB -N test
#MSUB -v PYTHON=devel/python_intel/3.6
module load $PYTHON
source activate tf2-gpu
cd hao/DE_HD_test/
python 02_keras_models_single.py
|
c4cee4f97473e0ad83bf2b2b6c8ac0e743ce053acbbcfa002c18c135bbaa9649 | Shell | 213 | 10 | #!/bin/bash
set -xe
# define the paths
DEST=$1
path_output=${DEST}/hg38.phyloP100way.bw
rsync -avz --progress rsync://hgdownload.cse.ucsc.edu/goldenPath/hg38/phyloP100way/hg38.phyloP100way.bw ${path_output}
|
670ee18dc740eb5774bae1ed4ac78c7644ae76b22e9072fe14494f2d93c10f40 | Shell | 214 | 9 | #!/bin/bash
rm -rf out_* *_release-*
morphology-workflows Initialize --source-database NeuroMorpho
morphology-workflows Fetch
morphology-workflows Curate
morphology-workflows Annotate
morphology-workflows Repair
|
ab5e412ab669898b2c148c57aee45f697edf8d2b71fce0856d5cbe0b43dbf114 | Shell | 214 | 13 | #!/bin/bash
MAXNUM=$1
F_NAME=$2
F_TYPE=$3
SCRIPT_DIR=$(dirname $0)
exec > missing.txt
for ((i=0 ; i<=${MAXNUM} ; i++)) ; do
if [ ! -f "${SCRIPT_DIR%/}/${F_NAME}_$i.${F_TYPE}" ] ; then
echo $i
fi
done |
088a62a504b68caf634c5a55ea67ee23610ad4557ffa822cb26809892e22137f | Shell | 215 | 8 | if [ ! -e ChromSDE ]
then
wget http://biogpu.ddns.comp.nus.edu.sg/~chipseq/ChromSDE/ChromSDE_program2.2.zip
unzip ChromSDE_program2.2.zip
rm ChromSDE_program2.2.zip
mv program ChromSDE
mv *.m ChromSDE
fi
|
b7803e8d4cdc74e51089c5c26099fcb117b8b1431a501ee3f8e23aa118c45908 | Shell | 217 | 2 | python launcher_scripts/run_from_config.py configs/iceberg/msg_all/dag_inten_train_msg_all_iceberg.yaml
python launcher_scripts/run_from_config.py configs/iceberg/msg_all/dag_inten_contr_finetune_msg_all_iceberg.yaml
|
da429680b5c79c149b59db616ea46b5ddf0e7da8d8ce99056dcffaadbf6f9022 | Shell | 218 | 5 | PATHTO=/data1/czhao/xiaodong/FOXA2/ROSE
PYTHONPATH=$PATHTO/lib
export PYTHONPATH
export PATH=$PATH:$PATHTO/bin
ROSE_main.py -g HG19 -i m1407_m1390asCtrl_peaks.narrowPeak.gff -r m1407_sorted.bam -o m1407_m1390asCtrl_SE
|
33306285eb27a1432ef42629dd76363f9a27a60eab2f60ea6083d02cb37c76c8 | Shell | 221 | 3 | #!/bin/bash
./path/to/EVE_release/EVEmodel -S -n 6496 -t ../data/8_trees/hypot_ALVAREZ_TreePruned_organized.nh -i ../data/9_indivs/hypot_indivs_ALV -d ../data/7_orthotpms/adult_nopap_hypothALV -f adulthypot_DIVALV -v 10
|
c5fd63590c568f8249fe1f7dacf15475772cc4222d058caed6e62d231b8fc89b | Shell | 221 | 8 | oat decorate raw dec -p pos -tsSRh &
sleep 1
oat posigen rand2D pos -n 1000 &
time oat frameserve test raw -f $1 -c test.toml test
oat decorate raw dec -tsS &
sleep 1
time oat frameserve test raw -f $1 -c test.toml test
|
fb663aa889d191b41c681a4cd3facd0a14d4930d0aa1301ead9437c05a452f9e | Shell | 221 | 4 | python launcher_scripts/run_from_config.py configs/iceberg/nist23/dag_inten_train_nist23.yaml
# contrastive finetune
python launcher_scripts/run_from_config.py configs/iceberg/nist23/dag_inten_contr_finetune_nist23.yaml
|
8269ac6f58cf7173358f5be8bd9d6be1fd5ae7edf3f2e63172195b4622d24050 | Shell | 222 | 4 | #python launcher_scripts/run_from_config.py configs/iceberg/nist20/dag_inten_train_nist20.yaml
# contrastive finetune
python launcher_scripts/run_from_config.py configs/iceberg/nist20/dag_inten_contr_finetune_nist20.yaml
|
42f3ea1cd471026ac89f835161573308674a900c559518be9e39a8d6e22cb9fd | Shell | 224 | 15 | #!/bin/bash
set -e
ANALYSIS=$1
MEM=$2
FILES=${*:3}
mkdir -p log
for F in $FILES
do
qsub -l h_vmem=$MEM -V -j y -N `basename $ANALYSIS`.`basename $F` -o log -cwd -b y $ANALYSIS $F
done
echo success.`basename $ANALYSIS`
|
248d92cba82a1a5ffa5f51c452b2bcb7c50a628eb7226da02245c2437dc7c3f2 | Shell | 225 | 12 | #!/usr/bin/env bash
set -e
FILE=$1
name=$(basename ${FILE})
ref=${name:0:4}
wget http://hgdownload.cse.ucsc.edu/goldenPath/${ref}/liftOver/${name} \
-O ${FILE}
# Ensure that the timestamp is updated for make
touch ${FILE} |
706d42fbc86cb294d7c0eb23722375f545ba80179a4e32c4e54d520e7a096d04 | Shell | 227 | 7 | #!/bin/bash
DIR=$1
valgrind --tool=verrou --exclude=exclude.ex --rounding-mode=random /usr/bin/python3 ./muller.py> $DIR/res.dat
valgrind --tool=verrou --exclude=exclude.ex --rounding-mode=random ./muller > $DIR/res2.dat
|
49bd9179791893aad485712a7e95810cbcf1606a1f1704fe20261204800bb468 | Shell | 228 | 7 | for bp in 00000500K 00001000K 00002000K 00005000K 00010000K 00020000K 00050000K 00100000K 00200000K
do
mkdir -p $bp
cd $bp
ln -s $PWD/../../../varKoder/fam_gen_sp_multi/intermediate_files/split_fastqs/*${bp}.fq.gz ./
cd ..
done
|
69603b8305ea5303a02410e0f8ba2a217e3e8324fd79e81fdb2a56e92c726ea0 | Shell | 229 | 7 | #!/bin/sh
STAR --runMode genomeGenerate \
--genomeDir "Index-folder" \
--sjdbGTFfile "GTF-file" \
--genomeFastaFiles "DNA-toplevel-FASTA" \
--runThreadN 28 \
--outFileNamePrefix "Index-folder/Log-Folder" |
a9e75da5081de02f1d28cb7323f1a68952f4f4bad7289b52ec8326d85c083a12 | Shell | 229 | 8 | #!/bin/sh
DIR=$HOME/snpEff/
java -Xmx3G \
-classpath "$DIR/lib/charts4j-1.2.jar:$DIR/lib/flanagan.jar:$DIR/lib/freemarker.jar:$DIR/lib/junit.jar:$DIR/lib/trove-2.1.0.jar:$DIR" \
ca.mcgill.mcb.pcingola.PromoterSequences \
$*
|
ca4fbb0f2f77d06b1540a316703a7fbd8eb1d2809557d95f4bac3292c55f4b31 | Shell | 229 | 9 | # Download CID-SMILES
wget https://ftp.ncbi.nlm.nih.gov/pubchem/Compound/Extras/CID-SMILES.gz
# Unzip
gunzip CID-SMILES.gz
mkdir data/retrieval
mkdir data/retrieval/pubchem
mv CID-SMILES data/retrieval/pubchem/pubchem_full.txt
|
75e50bf398d56045f3c45e394acd81d3a2241ce986408f20a557a5f5c8449ce1 | Shell | 230 | 5 | #!/bin/bash
!wget -O t2d_bbj.txt.gz http://jenger.riken.jp/14/
!wget -O bmi_male_bbj.txt.gz http://jenger.riken.jp/2analysisresult_qtl_download/
!wget -O bmi_female_bbj.txt.gz http://jenger.riken.jp/4analysisresult_qtl_download/
|
e93b64807f201ca366acf04e8b487edfb2a152edec8f9e7e3fca4284820f1fcd | Shell | 231 | 8 | python antifold/main.py \
--pdb_file data/antibody_antigen/3hfm.pdb \
--heavy_chain H \
--light_chain L \
--antigen_chain Y \
--num_seq_per_target 10 \
--sampling_temp "0.2" \
--regions "CDR1 CDR2 CDR3"
|
d829844a1c348ef49fb89b40163f30af94a50290e5070bab20b280f91863ddaa | Shell | 233 | 6 | wget http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/ECCV20/nerf/tiny_nerf_data.npz
mkdir -p data
cd data
wget http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/ECCV20/nerf/nerf_example_data.zip
unzip nerf_example_data.zip
cd ..
|
91300c89a6b01faf89157514e19b1c8f4534815b36f8def925a7170b1d8971e9 | Shell | 234 | 11 | #!/bin/bash
set -e
verificarlo-c test.c -o test --verbose &> compile.log
if ! grep "Instrumenting" compile.log; then
echo "New pass manager args not recognized. Test failed."
exit 1
fi
VFC_BACKENDS="libinterflop_mca.so" ./test
|
f47a27bd62ab1fff08f5f862f4ec27cba3871d062512cdc123a4d2febaea3753 | Shell | 234 | 8 | python antifold/main.py \
--pdb_file data/nanobody/nanobody_antigen_9hzj_imgt.pdb \
--heavy_chain A \
--antigen_chain B \
--nanobody_mode \
--num_seq_per_target 10 \
--sampling_temp "0.2" \
--regions "CDRH" |
848789f5a89bdc33431d516d7c7eff1f12768d0703811845707f8a72c265cfd2 | Shell | 235 | 16 | #!/bin/sh
set -e
export VFC_BACKENDS_SILENT_LOAD="True"
export VFC_BACKENDS_LOGGER="False"
vfc_ci test
if ls *.vfcrun.h5; then
echo "Run file found, SUCCESS"
exit 0
else
echo "Run file not found, FAILURE"
exit 1
fi
|
0c02f241927fd05fc3ba39ef61fa21e4acad31f6342f4b1370dcda74849a0a3b | Shell | 236 | 19 | #!/usr/bin/env bash
set -e
input=$1
field=$2
C=1
header=`zcat ${input} | head -n 1`
for i in ${header}
do
if [[ $i == "${field}" ]]
then
break
else
C=$(( $C + 1 ))
fi
done
zcat ${input} | sed -n '2p' | cut -f$C | xargs printf |
3e27210841523e6f9d1a49843a5f5c6b9c76c979a8817252a1864d6fdd505b8a | Shell | 236 | 15 | #!/bin/bash
dropbox=../../dropbox
data=schneider50k
tpl=default
save_dir=$dropbox/cooked_$data/tpl-$tpl
python get_canonical_smarts.py \
-dropbox $dropbox \
-data_name $data \
-save_dir $save_dir \
-tpl_name $tpl \
|
71cad6bb4a556448713fcb13acd299e66bf29db6a818e1d1bd7ab227cc9dcdd9 | Shell | 237 | 3 | #!/bin/bash
./path/to/EVE_release/EVEmodel -S -n 6496 -t ../data/8_trees/hypot_ALVAREZ_TreePruned_organized_DO.nh -i ../data/9_indivs/hypot_indivs_ALV_DO -d ../data/7_orthotpms/adult_nopap_hypothALV_DO -f adulthypot_DIVALVdropout -v 10
|
b286a47d31d12e6f9a770d389769492b7c147f82854a4d5b0454cfd253bef3ce | Shell | 240 | 11 | #!/bin/sh
zcat Araly1_GeneModels_FilteredModels6.gff.gz \
| sed "s/name/gene_id/" \
| sed "s/transcriptId \(.*\)/transcript_id \"\1\";/" \
| sed "s/exonNumber \(.*\)/exon_number \"\1\";/" \
> g1
./convert.pl g1 > genes.gtf
rm -vf g1
|
1dfa1df113640c6db484432ae9d6abfd8abfce411a407092d2f7e8625e77b326 | Shell | 245 | 13 | #!/bin/bash
dropbox=../../dropbox
data_name=schneider50k
tpl_name=default_tpl
python graph_feat.py \
-dropbox $dropbox \
-data_name $data_name \
-tpl_name $tpl_name \
-f_atoms $dropbox/cooked_$data_name/atom_list.txt \
$@
|
5409736de188fa2aaae1e0331448276aade63752dc54b533b8ea8049bd76be35 | Shell | 245 | 12 | #!/bin/bash
set -e
export VFC_BACKENDS="libinterflop_mca.so --precision-binary64=53"
export VFC_BACKENDS_LOGGER="False"
verificarlo-c --function solve -O0 linear.c -o test
echo "x y" >output
for i in $(seq 1 100); do
./test >>output
done
|
2077893426a16510112b5bb7d651ce9e6f073ed2bec9a857e814fff5ccaa15db | Shell | 246 | 12 | #!/bin/sh
# clean /tmp dir only if there is no rsync job running at the moment
# run from crontab
RUNNING=`ps --no-headers -Crsync | wc -l`
if [ ${RUNNING} -gt 2 ]; then
echo rsync is running, not cleaning tmp
exit 0
fi
rm -f /tmp/*
|
e668c33f6804f3396ea3b470dd957f2673bae1261b525d5ec417f35e4251e8e6 | Shell | 246 | 7 | #!/bin/bash
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PATH_TO_JULIA=$script_dir/venv/julia-1.6.7/bin/julia
source $script_dir/venv/bin/activate
python $script_dir/onedcellsim/simulators/multistability/viewer.py ${PATH_TO_JULIA} |
0ec0e0861595525cd7d84fd3a05fb3c30ed430126434230cfe347ea955bf5fda | Shell | 247 | 13 | #!/bin/bash
set -e
set -o pipefail
# prepare cohort-specific histologies file
Rscript -e "rmarkdown::render('01-add_histologies.Rmd')"
# Get summary stats
Rscript --vanilla 02-summary_stats.R
# Generate alluvial plot
Rscript 03-alluvial_plot.R |
8e22b75a3a8b4011e3c57dbbc454b338a14493c1fb63821ed05c039496ba909c | Shell | 247 | 9 | #!/usr/bin/env bash
CONFIG=$1
GPUS=$2
PORT=${PORT:-29500}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
$(dirname "$0")/train.py $CONFIG --launcher pytorch ${@:3}
|
8fc93b1c8b118be6d99db6c899389dc4a1b475f1b34bb8b6eb1d1b15d0b80642 | Shell | 247 | 8 | #!/bin/bash
source ~/.bashrc
echo "running docker-entrypoint.sh"
conda activate container
echo $KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS
echo "printed TPU info"
export XRT_TPU_CONFIG="tpu_worker;0;${KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS:7}"
exec "$@"#!/bin/bash
|
76e1089fae1430fe552d3c5e8d1ebda0a916ef4c0e71795ac962ea05da21a29f | Shell | 248 | 14 | #!/bin/sh
OS_TYPE=`uname`
mkdir -p bin
mkdir -p bin/$OS_TYPE
mkdir -p obj
mkdir -p obj/$OS_TYPE
echo cp makefile.linux_mac makefile
cp makefile.linux_mac makefile
echo cp src/makefile.$OS_TYPE src/makefile
cp src/makefile.$OS_TYPE src/makefile
|
5b78fbe2b93d5bd3b4c860e2743b6c018d72d3ad589d87a8c306d179bd66b6de | Shell | 250 | 22 | #!/bin/bash
module load homer/4.10
mkdir results
for i in *bedpe
do
j=${i%%_*}
cp ${i} results/${j}.bedpe
done
cd results
merge2Dbed.pl 93.bedpe 1451.bedpe 1452.bedpe nci.bedpe \
-res 10000 -loop -prefix nepc_gain > output_nepc.bedpe 2>&1
|
32927aa5b965430a7e1958f8107efa465cacd009349893033974b39d3bed7386 | Shell | 251 | 3 | #!/bin/bash
rm -Rf *~ input.txt tmp.* log.error mpfr.txt test.log vprec.txt run_parallel compute_vprec_rounding test_vprec_rounding test_vprec_rounding.log .vfcwrapper* .test* *.o *.ll test compute_mpfr_rounding compute_vprec_rounding_{float,double}
|
032d92da8b9d56237d99ea226517345bae5e2750c6669c97b12d607a32118713 | Shell | 252 | 22 | #!/bin/bash
module load homer/4.10
mkdir results
for i in *bedpe
do
j=${i%%_*}
cp ${i} results/${j}.bedpe
done
cd results
merge2Dbed.pl 35CR.bedpe 70CR.bedpe 77CR.bedpe 147.bedpe \
-res 10000 -loop -prefix crpc_gain > output_crpc.bedpe 2>&1
|
516bf2947ed07c0956001f8556694d10bd9029f2753a6a7d3f8991c418c62a42 | Shell | 252 | 10 | set -e
source .venv/bin/activate
for f in $(find examples/nnx_toy_examples -name "*.py" -maxdepth 1); do
echo -e "\n---------------------------------"
echo "$f"
echo "---------------------------------"
MPLBACKEND=Agg python "$f"
done
|
4e0c47ae272f1ca7869e875c65ac93eb559c717709d5695468e7c0e8f132b73e | Shell | 254 | 9 | #!/bin/sh
export MACOSX_DEPLOYMENT_TARGET=10.14
python -m pip install --upgrade pip
pip install setuptools wheel twine auditwheel
python3 setup.py build bdist_wheel --plat-name macosx_10_14_x86_64 --dist-dir wheel
twine upload --skip-existing wheel/*
|
ef73ed8f88d8c196dfac53de20668a1549012689fa9546afa6dc64b47c9454a3 | Shell | 254 | 8 | #!/bin/sh
# Download data
wget http://hgdownload.soe.ucsc.edu/goldenPath/hg19/database/cpgIslandExt.txt.gz
# Annotate Shores & Shelves
gunzip -c cpgIslandExt.txt | cut -f 2- | ./cgShore.pl > cpgIslands_Shores_Shelf.bed
gzip cpgIslands_Shores_Shelf.bed
|
495ffff36dd33d2340c2dc8f7bd8d4e203193eba9cf178d0f3164fbeab29cd78 | Shell | 258 | 9 | #!/usr/bin/env bash
CONFIG=$1
GPUS=$2
PORT=${PORT:-29500}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
$(dirname "$0")/mot_param_search.py $CONFIG --launcher pytorch ${@:3}
|
60538e2a2bef4f7b96ab1a3ff4f0aa54af16f02dffff3d481cdc594da98c71a2 | Shell | 258 | 3 | #!/bin/bash
./path/to/EVE_release/EVEmodel -O -o 4 -n 6496 -t ../data/8_trees/hypot_ALVAREZ_TreePruned_organized.nh -i ../data/9_indivs/hypot_indivs_ALV -d ../data/7_orthotpms/adult_nopap_hypothALV -f adult_hypothal_BS2ALV -v 10 > adult_hypoth_full2ALV.txt
|
a4384fd72428597a1314f137f8e4502b10db243fa5262d4f53acc5f7534346a9 | Shell | 258 | 9 | FOLDER=$1
tmpdir=`mktemp -d`
wget -c https://ftp.ebi.ac.uk/pub/databases/Pfam/releases/Pfam35.0/Pfam-A.clans.tsv.gz \
-O ${tmpdir}/pfam_info.name.tsv.gz
gzip -d ${tmpdir}/pfam_info.name.tsv.gz
mv ${tmpdir}/pfam_info.name.tsv ${FOLDER}/pfam_info.name.tsv |
ad972c95d0a92afb68bb0552e1c4fe05c3baeb9a2e542da02f493da87dcdb4ee | Shell | 259 | 4 | #!/bin/sh
cd feature_decoding
python featdec_eval.py config/vggsound_fmriprep_rep4_500voxel_vggishish_allunits_fastl2lir_alpha100.yaml
python featdec_eval_attention.py config/vggsound_attention_fmriprep_rep4_500voxel_vggishish_allunits_fastl2lir_alpha100.yaml |
7e5d2ac6cbc3d29a1b1596ce791d9880c2699094c6ec394a08f984fe58349b75 | Shell | 262 | 9 | #!/bin/bash
# This script is just a convenience, it activates the virtual
# environment and then invokes the `callicog` command,
# passing through any arguments supplied.
source $HOME/callicog/.env && \
source $CALLICOG_VENV/bin/activate && \
callicog "$@"
|
f9fe0e322cfd78e973d2f1533d865c9ae674aea5e2e718ed7e0c67f9994882f4 | Shell | 262 | 10 | #!/bin/bash
cd $(dirname $0)
for parc in "aparc" "schaefer-100" "schaefer-200" "schaefer-400"; do
for measure in "strength" "length"; do
echo "Processing $parc $measure..."
uv run prep_sc_sub.py --parc $parc --measure $measure
done
done |
1767962fce362f2ef776770a984580d41220ad69d9051a45e17eb9557a6202e9 | Shell | 263 | 12 | #!/bin/bash
# verify umask for local hgwdev users
thisMachine=`uname -n`
if [ "${thisMachine}" = "hgwdev" ]; then
uMask=`umask`
if [ "${uMask}" != "0002" ]; then
echo "WARNING: local hgwdev users should run umask 002, yours is '${uMask}'" 1>&2
fi
fi
|
8b5d34b9c1a998538dffa06f2bf923683f047386f1a98d1c63835f3441f8b5fa | Shell | 263 | 9 | #!/bin/bash
conda create --force -n idelucs python=3.11 pip setuptools conda-forge::parallel conda-forge::exiftool
conda activate idelucs
git clone https://github.com/millanp95/iDeLUCS.git iDeLUCS
cd iDeLUCS
python setup.py build_ext --inplace
pip install -e .
|
7a62b0eb288ceed8ca4d1c6ef0dc4a2de52cd6f568d4e432cbbad1329f5115bb | Shell | 264 | 12 | #!/bin/bash
#SBATCH --account=p32032
#SBATCH --partition=long
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=64
#SBATCH --time=168:00:00
#SBATCH --mem=243g
#SBATCH --job-name=diya_recalculate
module load matlab/r2022b
matlab -singleCompThread -batch "ccm_qscript"
|
3d7febd72ebfb6ff4b50a27914620d11c3e8c0a65640e3f907d597c8ab7ce015 | Shell | 265 | 6 | #!/bin/sh
# If you're me (sourceforge: ctrapnell), use this to push the
# contents of this directory to the appropriate place on sourceforge.
# Changes will be instantaneous on http://tophat-bio.sf.net.
scp -r * ctrapnell@shell.sourceforge.net:~/tophat-bio/htdocs
|
9c0cb078a12511737ec267769a96924fbbb5b3a66439b1b5f0950f4d262a2274 | Shell | 269 | 11 | #!/usr/bin/env bash
FOLDER=$1
tmpdir=`mktemp -d`
wget https://datasets.genepattern.org/data/module_support_files/MutPanning/Hg19.zip \
-O ${tmpdir}/mutpanning.zip
unzip -d ${tmpdir} ${tmpdir}/mutpanning.zip
mv ${tmpdir}/Hg19 ${FOLDER}/
chmod -R g+rx ${FOLDER}/Hg19
|
0a5dda8299afca0420cd9a0385fd9729a1f4b4478dbf84640777ab6a9acd55f8 | Shell | 271 | 10 | #!/bin/sh
# cp Crubella_183.fa.gz ../genomes/crubella_183.fa.gz
# gunzip -c ORI/Crubella_183_gene.gff3.gz > genes.gff
gunzip -c ORI/Crubella_183_cds.fa | sed "s/>.*PACid:/>PAC:/" > cds.fa
gunzip -c ORI/Crubella_183_protein.fa | sed "s/>.*PACid:/>PAC:/" > protein.fa
|
6a5eaa5e273142c89cbb8e3935a1b0b2c1f1118ffb6ef1575ddb569f3d04ef8d | Shell | 271 | 7 | #!/bin/sh
TEST_CONFIG_LOCATION=$PWD/conf/transcode_job_configs.yml
# The job script traverses parent directories to find the scripts/ dir, which
# is why I'm not running as a module here
python $PWD/src/aind_data_transfer/jobs/transcode_job.py -c $TEST_CONFIG_LOCATION
|
38fe99a22bd124740f2d62f0c8f7587ed25cbfbc8283a1c2f57826952f3abbcc | Shell | 272 | 3 | export MODULEPATH=/opt/software/easybuild-AMD/modules/all:/etc/modulefiles:/usr/share/modulefiles:/opt/software/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core
module purge
module load Python/3.11.3-GCCcore-12.3.0 |
bca7c2accba33ca267317366254f01293333e67b4f94bb27a059ffb81bb244b3 | Shell | 272 | 10 | #!/usr/bin/env bash
CONFIG=$1
CHECKPOINT=$2
GPUS=$3
PORT=${PORT:-29500}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
$(dirname "$0")/test.py $CONFIG $CHECKPOINT --launcher pytorch ${@:4}
|
ee5cf2ddf0b50ce14a7367b3e5b0fe221a66947a9fca5134d176f2e62342165c | Shell | 272 | 10 | #!/bin/sh
PYTHON_BIN=`readlink -f $1`
OUT_FILE=$2
echo "$PYTHON_BIN"
echo "∗" `ldd ${PYTHON_BIN} | grep libm | cut -f 3 -d " " | xargs readlink -f ` > ${OUT_FILE}
echo "_Py_HashDouble $PYTHON_BIN" >> ${OUT_FILE}
echo "_Py_dg_strtod $PYTHON_BIN" >> ${OUT_FILE}
|
da511b7d1c62ca574be5c251239d4c03386698b1785807459e44a6fbcb5fe70d | Shell | 273 | 13 | cd "$(dirname "$0")"
cd ../features
python mol_tree.py # takes about 30 min
cd ../src
. ./cross_run.sh 0 1 # training on the whole dataset will take about 10 days
cd ../outputs
rsync -av * ../ensemble/model_pred/new_run
cd ../ensemble
python ensemble.py
|
7e2128aca28b73ed3a8a3ada5052fb4688e05ac2e838c00a19274077abb1d6fb | Shell | 274 | 14 | #!/bin/bash
# run from crontab to update the browser
# only update browser if the "noAutoUpdate" flagfile does not exist
if [ -f /root/noAutoUpdate ]; then
exit;
fi
# sleep a little bit, so we don't hammer the rsync server
sleep $[RANDOM%30]
/root/updateBrowser.sh
|
a1b7fcf4efdae056f3618b7b9e27aa89cbfac3ecf96d0f895c32f07efbc132c2 | Shell | 279 | 11 | #!/usr/bin/env bash
FOLDER=$1
tmpdir=`mktemp -d`
wget -c http://genetics.bwh.harvard.edu/cbase/CBaSE_v1.1.zip \
-O ${tmpdir}/cbase.zip
unzip -d ${tmpdir} ${tmpdir}/cbase.zip
mv ${tmpdir}/CBaSE_v1.1/Auxiliary/*.gz ${FOLDER}/
mv ${tmpdir}/CBaSE_v1.1/Auxiliary/*.txt ${FOLDER}/ |
4d05028db0200719732bd39764195333afd8d1a9b01b7bfba8222369d53d0584 | Shell | 282 | 8 | #!/bin/sh
# Download files
#wget ftp://ftp.plantgdb.org/download/Genomes/PeGDB/Ppersica_139.fa.gz
#wget ftp://ftp.plantgdb.org/download/Genomes/PeGDB/Ppersica_139_gene.gff3.gz
( zcat Ppersica_139_gene.gff3.gz ; echo "###" ; echo "##FASTA" ; zcat Ppersica_139.fa.gz ) > genes.gff
|
881537acefb3ec167dbf82d4563935636b1ee36976f04c3ae1109fbc423c11f8 | Shell | 282 | 12 | #!sh
rm -rf ~/Desktop/Homer3*
rm -rf ~/Desktop/SubjDataSample
perl ~/Downloads/homer3_install/makefinalapp.pl ~/homer3/run_Homer3.sh ~/Desktop/Homer3.$1
ln -s ~/homer3/SubjDataSample ~/Desktop/SubjDataSample
chmod 755 ~/Desktop/Homer3.$1
chmod 755 ~/Desktop/SubjDataSample
exit
|
f634ccc361b90a030901b875b5b2b93b817a6a3cb7fb08636430c54fac3ba1c9 | Shell | 283 | 7 | #!/bin/bash
Rscript 1_preprocess_HiC.R $1 $2 $5
Rscript 2_generate_fragment_data.R $2 $5
Rscript 3_generate_fragment_DNase.R $2 $5
Rscript 4_generate_DNase_profile.R $2/Genomic_fragment $3
Rscript 5_impute_DNase_dist.R $2/Genomic_fragment
Rscript 6_generate_backbone_data.R $4 $2 $5
|
19a7fbceddbd0058a63497be758563bb1f8c51012f6a649e68a92e9d90d60afc | Shell | 285 | 8 | #!/usr/bin/env bash
DOWNLOAD_DIR=$1
DATA_ROOT=$2
tar -xvf $DOWNLOAD_DIR/OpenDataLab___PASCAL_VOC2012/raw/VOCtrainval_11-May-2012.tar -C $DATA_ROOT
tar -xvf $DOWNLOAD_DIR/OpenDataLab___PASCAL_VOC2012/raw/VOC2012test.tar -C $DATA_ROOT
rm -rf $DOWNLOAD_DIR/OpenDataLab___PASCAL_VOC2012
|
a9fc67f63173cabecad5e8c6d640d7db67ee2bdcaf45c94fd5d892ad73af7c7a | Shell | 286 | 4 | #!/bin/sh
cd feature_decoding
python featdec_fastl2lir_predict.py config/vggsound_fmriprep_rep4_500voxel_vggishish_allunits_fastl2lir_alpha100.yaml
python featdec_fastl2lir_predict_attention.py config/vggsound_attention_fmriprep_rep4_500voxel_vggishish_allunits_fastl2lir_alpha100.yaml
|
0431108a80a82d637c9d03d51e15f40088fdad0d0a6e64bac70e157326441c7b | Shell | 288 | 11 | #!/bin/bash
git pull
cp ./docs/index.md ./README.md
git add ./README.md
git commit -m "updated README"
git push
pip install zensical
zensical build --clean
# Note: For GitHub Pages deployment, use GitHub Actions workflow instead
# or manually push the site/ directory to gh-pages branch
|
60535a3496ac46648dfe645392b3bc0ae41eb78f08e338a4f5dd53f3c1e62add | Shell | 288 | 7 | #!/bin/bash
# Installs pre-commit hook that ensures attempts to commit files that are
# larger than $limit to your _local_ repo fail, with a helpful error message.
cd "$(dirname "$0")" # location of this script
cd .git/hooks/
ln -sf ../../pre-commit-prevent-large-files.sh pre-commit
|
0a2de8795c2851771cca812b58f0aa46c37790e94332a0b13b9bd60ccf42df40 | Shell | 289 | 12 | #!sh
rm -rf ~/Desktop/AtlasViewerGUI*
rm -rf ~/Desktop/Test
perl ~/Downloads/atlasviewer_install/makefinalapp.pl ~/atlasviewer/run_AtlasViewerGUI.sh ~/Desktop/AtlasViewerGUI.$1
ln -s ~/atlasviewer/Test ~/Desktop/Test
chmod 755 ~/Desktop/AtlasViewerGUI.$1
chmod 755 ~/Desktop/Test
exit
|
3a229db2fcff2861d6e83b030ee6c07ddae85004d21ba910e63a7df1ad450f40 | Shell | 289 | 19 | #!/bin/bash
dropbox=../../dropbox
data=schneider50k
num_cores=4
save_dir=$dropbox/cooked_${data}
if [ ! -e $save_dir ];
then
mkdir -p $save_dir
fi
python build_raw_template.py \
-dropbox $dropbox \
-data_name $data \
-save_dir $save_dir \
-num_cores $num_cores \
|
1face06a1e94ac9228816a68e9e6019efb970b3465378cc7823c8ee7cf2ebac0 | Shell | 292 | 13 | #!/bin/sh
#cp ORI/Lusitatissimum_200.fa ../genomes/lusitatissimum_90.fa
#cp ORI/Lusitatissimum_200_gene_exons.gff3 ../genes.gff
cat ORI/Lusitatissimum_200_protein.fa \
| sed "s/>.*PACid:/>PAC:/" \
> protein.fa
cat ORI/Lusitatissimum_200_cds.fa \
| sed "s/>.*PACid:/>PAC:/" \
> cds.fa
|
7775063d35437f94c0903e36e726ab87cfb056e83a83b093898c19073927aa18 | Shell | 292 | 10 | #!/bin/bash
DIR=$1
if [ "x" = "x$PARAM" ] ; then
echo "sans PARAM"
valgrind --tool=verrou --exclude=exclude.ex --rounding-mode=random ./sqrt > $DIR/res.dat
else
echo "avec PARAM"
valgrind --tool=verrou --exclude=exclude.ex --rounding-mode=random ./sqrt $DIR/$PARAM
fi
|
f95f6a96162c16ea107a9b23974f76dcd3df170519e536f456e6466d7a3794f8 | Shell | 292 | 12 | #!/bin/bash
for FILE in converted/*; do
model_name=`basename $FILE`
transformers-cli repo create $model_name -y
git clone https://huggingface.co/Helsinki-NLP/$model_name
mv $FILE/* $model_name/
cd $model_name
git add . && git commit -m "initial commit"
git push
cd ..
done
|
1a3c2504c7320f8b47ff8d3d70ba265691a382a81d04c571200ad85c76121488 | Shell | 293 | 6 | #!/bin/sh
# If you're me (sourceforge: ctrapnell), use this to push the
# contents of this directory to the appropriate place on sourceforge.
# Changes will be instantaneous on http://tophat-fusion.sf.net.
scp fusion_index_redirect.html forephilo@shell.sourceforge.net:~/tophat-fusion/htdocs
|
253b5d06b083b63cc2b45f92deda698e566609c2c7bab9c882f4cca40b85344e | Shell | 294 | 16 | #!/bin/bash
set -e
pwd; date
source ~/.bash_profile
source /etc/profile.d/modules.sh
module purge
module load mpi/mpich-3.2-x86_64
mpiexec -np $(( SLURM_NTASKS + 2 )) singularity exec {sif_path} python -m aind_data_transfer.jobs.zarr_upload_job --json-args '{json_args}'
echo "Done"
date
|
810d2205478fcd42ad2c61a7732071b9e4f1cd95eb2d9151f2213214202d96ba | Shell | 294 | 4 | conda install -c anaconda jupyter numpy pandas scikit-learn scipy seaborn pymongo -y
conda install -c conda-forge matplotlib einops tslearn imageio hyperopt scikit-posthocs tsfresh -y
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch -y
conda install -c pytorch captum -y |
906af86647d54025482470a38a30a802bb5be60a51ffb908c913c7d228c499f1 | Shell | 294 | 14 | #!/bin/bash
# Record video to test two color tracking on maze.
# JPN and AC
# 2015-06
# MWL@MIT
# Path to configuration files
CONFIG_PATH="./config.toml"
oat view raw &
sleep 0.1
oat record -i raw -f ./ -n two_color_test -d -F 30 &
sleep 0.1
oat frameserve gige raw -c "$CONFIG_PATH" -k gige
|
c99191adfa3886a87ad35358dcd4d678ae907096ec9eea17c0451cd7228d9a05 | Shell | 294 | 4 | #!/bin/bash
awk '{print $4}' ../analysis/results_dropout/indivBetaMLsadulthypot_DIVALVdropout.res | sed '/^$/d' | awk '{printf "%8.6f\n", $1}' > ../analysis/results_dropout/p
paste ../analysis/results_dropout/results ../analysis/results_dropout/p > ../analysis/results_dropout/resultsDIV_beta
|
eac8be9560667428e5f22525dbe3e0c8a4a0aea956f0fcfc49d53b952c07c5a0 | Shell | 295 | 11 | #!/bin/sh
# # Test, only first columns
# #zcat GTEx_Analysis_RNA-seq_RNA-SeQCv1.1.8_gene_rpkm__Pilot_2013_01_31.gct.gz \
# # | cut -f 1-20 \
# # | grep -e ^Name -e ^ENS \
# # > gtex.txt
cat GTEx_Analysis_2014-01-17_RNA-seq_RNA-SeQCv1.1.8_gene_rpkm.gct \
| grep -e ^Name -e ^ENS \
> gtex.txt
|
6c48ccbe08399391b5f33882ab26611168f14ee31b62b223cb45f724a3b7214c | Shell | 299 | 8 | #!/usr/bin/env bash
DOWNLOAD_DIR=$1
DATA_ROOT=$2
tar -xvf $DOWNLOAD_DIR/OpenDataLab___PASCAL_VOC2007/raw/VOCtrainval_06-Nov-2007.tar -C $DATA_ROOT
tar -xvf $DOWNLOAD_DIR/OpenDataLab___PASCAL_VOC2007/raw/VOCtestnoimgs_06-Nov-2007.tar -C $DATA_ROOT
rm -rf $DOWNLOAD_DIR/OpenDataLab___PASCAL_VOC2007
|
00764e8da5263a462cc6fb1cc49edfff002b1dddc716a78e7f51e764cdba3faf | Shell | 300 | 5 | #!/bin/bash
set -eu
python3.8 regions.py -pd /media/athena-admin/FastSSD1/Athena/francesca_202203/out_filter647_01/*_P_*/align -ld /media/athena-admin/FastSSD1/Athena/francesca_202203/out_filter647_01/*LD*/align -hd /media/athena-admin/FastSSD1/Athena/francesca_202203/out_filter647_01/*_HD*/align
|
17dff34c42aabccee64a89cffb24a1cb0f144e16aa13c081ad66878fb9c07011 | Shell | 300 | 19 | #!/bin/bash
dropbox=../../dropbox
data=schneider50k
version=default
save_dir=$dropbox/cooked_${data}/tpl-$version
if [ ! -e $save_dir ];
then
mkdir -p $save_dir
fi
python filter_template.py \
-dropbox $dropbox \
-data_name $data \
-tpl_name $version \
-save_dir $save_dir \
|
69ed83959e5e85ac2357b6a1241b114afaa68aa4b8baa92d546bc06eafd768b6 | Shell | 300 | 16 | #!/bin/bash
# Unzip source code
unzip src/tetgen/source/tetgen1.5.1-beta1.zip;
# Build source code
cd tetgen1.5.1-beta1;
mkdir build
cd build
cmake ..
make
# Move executable to the src file.
mv tetgen1.5.1-beta1/build/tetgen src/tetgen/lin64/tetgen;
# Remove build files.
rm -rf tetgen1.5.1-beta1; |
fbc13125f5160f7b84546aa1f90121e828a01de5140fc6dc9abdd5231bdbf645 | Shell | 300 | 23 |
BIN=stencil
FMA="-FMA"
BINO3DOUBLE=$BIN-O3-DOUBLE${FMA}
BINO0DOUBLE=$BIN-O0-DOUBLE${FMA}
BINO3FLOAT=$BIN-O3-FLOAT${FMA}
BINO0FLOAT=$BIN-O0-FLOAT${FMA}
BINS="./$BINO3DOUBLE ./$BINO0DOUBLE ./$BINO3FLOAT ./$BINO0FLOAT"
OPT="--scale=1 1"
for i in $BINS
do
echo $i
$PREFIX $i $OPT
done;
|
921feaddd42017804d475e1dfe8de9db0cba781d96670809d956a161b3cf64fb | Shell | 301 | 6 | export CUDA_ENABLE_COREDUMP_ON_EXCEPTION=1
export CUDA_COREDUMP_SHOW_PROGRESS=1
export CUDA_COREDUMP_GENERATION_FLAGS='skip_nonrelocated_elf_images,skip_global_memory,skip_shared_memory,skip_local_memory'
# Optional(For containers)
# export CUDA_COREDUMP_FILE="/persistent_dir/cuda_coredump_%h.%p.%t" |
75361ed544f55398fe65c52321dbb2f1d9f1b49d0ef531540cf39eaac819668c | Shell | 302 | 4 | #!/bin/bash
awk '{print $4}' ../analysis/results_diversity/indivBetaMLparamsadulthypot_DIVALV.res | sed '/^$/d' | awk '{printf "%8.6f\n", $1}' > ../analysis/results_diversity/p
paste ../analysis/results_diversity/results ../analysis/results_diversity/p > ../analysis/results_diversity/resultsDIV_beta
|
b8a7586b1d98f6c920f66027ec1dd5c785955d83e402bbc250a073f5cd78f9e6 | Shell | 302 | 14 | #clean up old dists
rm dist/*
# python setup.py sdist
python2 setup.py bdist_wheel
python3 setup.py bdist_wheel
python3 setup.py bdist_wheel sdist
# python setup.py register -r pypitest
# twine upload -r pypitest dist/gputools*
#python setup.py register
# twine upload dist/*whl
twine upload dist/*
|
3e8acc431140b933c7e291642c8a716cc5bbd3f08ecb2770c893f21c5671daec | Shell | 303 | 24 | #!/bin/bash
# Obviously, put whatever IP and Port in there that you want to use
case "$1" in
run)
oat posisock udp pos -h 10.121.43.222 -p 5555 &
sleep 1
oat positest rand2D pos -r 100
;;
clean)
oat clean pos
;;
*)
echo $"Usage: $0 {run|clean}"
exit 1
esac
|
231d599f74d1d20627cc3bea3564dbd8cb5334f153f7c05cca9f10d49aa65954 | Shell | 306 | 11 | max_epochs=50
lora_type=trunk
batch_size=128
for i in $(seq 27 -1 1); do
python -u train_twitter_tlora_withhead.py \
--lora_checkpoint_dir .checkpoints/lora/twitter/with_head/$lora_type/e$max_epochs/$i \
--lora_type $lora_type \
--max_epochs $max_epochs \
--batch_size $batch_size
done |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.