diff --git a/package/bowtie2/2.4.1/install.sh b/package/bowtie2/2.4.1/install.sh new file mode 100755 index 0000000000000000000000000000000000000000..7fe800037b27310ce8f80ba3d9d6de62b6337f0f --- /dev/null +++ b/package/bowtie2/2.4.1/install.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://jaist.dl.sourceforge.net/project/bowtie-bio/bowtie2/2.4.1/bowtie2-2.4.1-source.zip +. ${DOWNLOAD_TOOL} -u https://github.com/simd-everywhere/simde/archive/refs/heads/master.zip -f simde-master.zip +. ${DOWNLOAD_TOOL} -u https://raw.githubusercontent.com/jratcliff63367/sse2neon/refs/heads/master/SSE2NEON.h +cd ${JARVIS_TMP} +rm -rf bowtie2-2.4.1 +unzip -q ${JARVIS_DOWNLOAD}/bowtie2-2.4.1-source.zip +cd bowtie2-2.4.1 +mkdir -p third_party/simde/simde/x86 +export NO_TBB=1 +export POPCNT_CAPABILITY=0 +unzip -q ${JARVIS_DOWNLOAD}/simde-master.zip +cp -a simde-master/simde third_party/simde/ +cp -a ${JARVIS_DOWNLOAD}/SSE2NEON.h third_party/simde/simde/x86/ +make all +mkdir -p $1/bin +cp bowtie2* $1/bin diff --git a/templates/bowtie2/2.4.1/data.bowtie2.arm.cpu.config b/templates/bowtie2/2.4.1/data.bowtie2.arm.cpu.config new file mode 100644 index 0000000000000000000000000000000000000000..621718b9918c9a342777197aebb2859b9e3ecd95 --- /dev/null +++ b/templates/bowtie2/2.4.1/data.bowtie2.arm.cpu.config @@ -0,0 +1,70 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +case1 https://jaist.dl.sourceforge.net/project/bowtie-bio/bowtie2/2.4.1/bowtie2-2.4.1-source.zip +case2 http://hgdownload.cse.ucsc.edu/goldenPath/mm10/bigZips/chromFa.tar.gz + +[DEPENDENCY] +set -e +set -x +module purge +./jarvis -install package/hpckit/2024.12.30 any +module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles +module add bisheng/compiler4.1.0/bishengmodule + +[ENV] +module purge +module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles +module add bisheng/compiler4.1.0/bishengmodule +mkdir -p ${JARVIS_ROOT}/case + +[APP] +app_name = bowtie2 +build_dir = ${JARVIS_ROOT} +binary_dir = +case_dir = ${JARVIS_ROOT}/case + +[BUILD] +./jarvis -install package/bowtie2/2.4.1 clang + +[RUN] +run = +binary = +nodes = 1 + +[BATCH] +#定义日志文件 +LOG_FILE="bowtie2-performance.log" + +#清空日志文件 +> "$LOG_FILE" + +#执行命令并统计性能 +#待补充 + +[JOB] +#!/bin/sh +#DSUB -n bowtie2_test +#DSUB --mpi hmpi +#DSUB -q default +#DSUB -N 1 +#DSUB -R cpu =128 +#DSUB -oo bowtie2_$J.out +#DSUB -eo bowtie2.$J.err + +module use software/moduledeps +module add bisheng4.1.0/bowtie2/2.4.1 + +#生成算例 +cd ${JARVIS_ROOT}/case +if [ ! -f "mm10.fa" ];then + unzip -q ${JARVIS_DOWNLOAD}/bowtie2-2.4.1-source.zip + tar xf ${JARVIS_DOWNLOAD}/chromFa.tar.gz + cat *.fa > mm10.fa +fi + +#运行 +#待补充 +#bowtie2-build mm10.fa mm10 +#bowtie2 -p 6 -3 5 --local -x mm10 -1 bowtie2-2.4.1/example/reads/reads_1.fq -2 bowtie2-2.4.1/example/reads/reads_2.fq -S example.sam