Debian Codegraph @

test/test_4.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 #set -x
4
5 NAME="primary alignment test"
6 BIN="ngmlr-"`grepscip-shell system . . grep. -o "set( NGM_VERSION_MAJOR [0-9]* )" CMakeLists.txt | cutscip-shell system . . cut. -d " " -f 3`"."`grepscip-shell system . . grep. -o "set( NGM_VERSION_MINOR [0-9]* )" CMakeLists.txt | cutscip-shell system . . cut. -d " " -f 3`"."`grepscip-shell system . . grep. -o "set( NGM_VERSION_BUILD [^ ]* )" CMakeLists.txt | grepscip-shell system . . grep. -v debug | cutscip-shell system . . cut. -d " " -f 3`
7 PARAMETER=" --skip-write -x pacbio --no-progress -t 4 "
8
9 echoscip-shell system . . echo. "Test: $NAME"
10
11 bin/${BIN}/ngmlr $PARAMETER -r test/data/test_4/reference.fasta.gz -q test/data/test_4/read.fa.gz 2> /dev/nullscip-shell filesystem . . `/dev/null`. | samtools view -S - 2> /dev/nullscip-shell filesystem . . `/dev/null`. | sortscip-shell system . . sort. | cutscip-shell system . . cut. -f 1,2,3,4,5 > test/data/test_4/found.txt
12
13 diffscip-shell system . . diff. test/data/test_4/expected.txt test/data/test_4/found.txt || exit 1
14
15 rmscip-shell system . . rm. test/data/test_4/found.txt
16
17 echoscip-shell system . . echo. "Success"