modified: SpatialOmicsCoord.py
[GalaxyCodeBases.git] / c_cpp / etc / jellyfish / tests / raw_hash.sh
blobd93e18c37174af3f923961616aa1b5f3224f7318
1 #! /bin/sh
3 cd tests
4 . ./compat.sh
6 sort > ${pref}.md5sum <<EOF
7 5c5d07dfb4e3de89b7fe4c72c714b921 ${pref}.stats
8 dbe881e4649406321d0e481da08eab5c ${pref}_L.dump
9 c3233e107bb6b42d0c979707f156264c ${pref}.query
10 7059a4e90b6670b2d814e44e2bc7d429 ${pref}.histo
11 EOF
12 echo "Counting 22-mers on ${nCPUs} CPU" && \
13 $JF count --matrix seq10m_matrix_22 -m 22 -c 2 -t $nCPUs \
14 -o $pref -s 10000000 --raw --timing ${pref}.timing seq10m.fa && \
15 $JF stats ${pref}_0 > ${pref}.stats && \
16 $JF dump -c -L 2 ${pref}_0 > ${pref}_L.dump && \
17 $JF histo -f ${pref}_0 > ${pref}.histo &&
18 echo "GCCATTTCGATTAAAGAATGAT TAGGCATGCAACGCTTCCCTTT" | $JF query ${pref}_0 > ${pref}.query && \
19 check ${pref}.md5sum
20 RET=$?
22 cat ${pref}.timing
23 # [ -z "$NODEL" ] && \
24 # rm -f ${pref}_* ${pref}.md5sum ${pref}.timing ${pref}.stats
25 exit $RET