Project

General

Profile

« Previous | Next » 

Revision 158

join_all_vegbank: Updated to sort output maps

View differences:

mappings/join_all_vegbank
5 5
cd "$selfDir"
6 6

  
7 7
for map in *-VegX.*.csv; do
8
    type="${map%.csv}" # remove extension
8
    type="${map%.*}" # remove extension
9 9
    type="${type#*.}" # remove up to last "."
10
    ../scripts/util/join_maps "VegX-VegBank.$type.csv" <"$map" \
11
    >"${map/VegX/VegBank}"
10
    ../scripts/util/join_maps "VegX-VegBank.$type.csv" <"$map"|\
11
    ../scripts/util/sort 1 >"${map/VegX/VegBank}" # sort on output col
12 12
done

Also available in: Unified diff