File: loadPulses_fast.t

package info (click to toggle)
blasr 5.3.5%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,196 kB
  • sloc: cpp: 8,412; ansic: 806; python: 331; sh: 178; java: 158; makefile: 36
file content (41 lines) | stat: -rw-r--r-- 1,431 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Set up directories
  $ . $TESTDIR/setup.sh 

Set up the executable: loadPulses.
  $ EXEC=$TESTDIR/../loadPulses

#Test loadPulses: input is a bas.h5 file
#Test -byread and -bymetric
  $ BAS_IN_1=$DATDIR/lambda_lp.fofn
  $ CMP_IN_1=$DATDIR/lambda_lp.cmp.h5
  $ CMP_STDOUT_1=$STDDIR/lambda_lp.cmp.h5
  $ CMP_OUT_byread_1=$OUTDIR/lambda.byread.cmp.h5
  $ CMP_OUT_bymetric_1=$OUTDIR/lambda.bymetric.cmp.h5
  $ METRICS=QualityValue,MergeQV,InsertionQV,DeletionQV,DeletionTag,PulseWidth,SubstitutionQV,SubstitutionTag

  $ rm -f $CMP_OUT_byread_1
  $ cp $CMP_IN_1 $CMP_OUT_byread_1
  $ $EXEC $BAS_IN_1 $CMP_OUT_byread_1 -metrics $METRICS -byread > $OUTDIR/tmp.log
  [INFO] * [loadPulses] started. (glob)
  [INFO] * [loadPulses] ended. (glob)

  $ h5diff -c $CMP_OUT_byread_1 $CMP_STDOUT_1
  dataset: </FileLog/CommandLine> and </FileLog/CommandLine>
  \d+ differences found (re)
  dataset: </FileLog/Timestamp> and </FileLog/Timestamp>
  \d+ differences found (re)
  [1]

  $ rm -f $CMP_OUT_bymetric_1
  $ cp $CMP_IN_1 $CMP_OUT_bymetric_1
  $ $EXEC $BAS_IN_1 $CMP_OUT_bymetric_1 -metrics $METRICS -bymetric > $OUTDIR/tmp.log 
  [INFO] * [loadPulses] started. (glob)
  [INFO] * [loadPulses] ended. (glob)
  $ h5diff -c $CMP_OUT_bymetric_1 $CMP_STDOUT_1 
  dataset: </FileLog/CommandLine> and </FileLog/CommandLine>
  \d+ differences found (re)
  dataset: </FileLog/Timestamp> and </FileLog/Timestamp>
  \d+ differences found (re)
  [1]