Debian Codegraph @

test/test_2.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 NAME="simple read length test"
4 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`
5 PARAMETER=" --skip-write "
6
7 echoscip-shell system . . echo. "Test: $NAME ($BIN)"
8
9 bin/${BIN}/ngmlr $PARAMETER -r test/data/test_2/ref_chr21_20kb.fa -q test/data/test_2/reads_100_2200bp.fa 2> /dev/nullscip-shell filesystem . . `/dev/null`. | samtools view -Sb - 2> /dev/nullscip-shell filesystem . . `/dev/null`. | bedtools bamtobed > test/data/test_2/found.bed
10
11 diffscip-shell system . . diff. test/data/test_2/expected.bed test/data/test_2/found.bed && echoscip-shell system . . echo. "Success"
12
13 rmscip-shell system . . rm. test/data/test_2/found.bed