root/scripts/test/map @ 103
1 |
#!/bin/bash
|
---|---|
2 |
# Tests map
|
3 |
# Usage: env [debug=1] [n=<num-rows>] self
|
4 |
|
5 |
selfDir="$(dirname -- "$0")" |
6 |
cd "$selfDir" |
7 |
|
8 |
test -n "$n" || n=2 |
9 |
let n++
|
10 |
|
11 |
in=NYBG.csv |
12 |
out=NYBG.xml |
13 |
|
14 |
head -"$n" "input/$in"|../map ../../mappings/NYBG-VegX.organisms.csv \ |
15 |
>"output/$out" && diff "accepted_output/$out" "output/$out" |
16 |
|
17 |
test -z "$debug" && toVegbank=map2vegbank || toVegbank=map |
18 |
head -"$n" "input/$in"|"../$toVegbank" \ |
19 |
../../mappings/joins/NYBG-VegBank.organisms.csv |
- « Previous
- 1
- 2
- Next »