Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fully converted to a different metamodel of MBGF; dependence still no…
…t implemented as it is supposed to be (however, now it at least has become possible)
- Loading branch information
1 parent
373370b
commit 5fc075e
Showing
4 changed files
with
280 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
#!/bin/sh | ||
|
||
# m2 file.mbgf one two | ||
# $0 $1 $2 $3 | ||
./mbgf2xbgf.py $1 $2 $3 tmp.xbgf | ||
xbgf tmp.xbgf `xpath $1 'mbgf:sequence/sources/src[@name="'$2'"]/text()' 2> /dev/null` tmp1.bgf | ||
gdts tmp1.bgf `xpath $1 'mbgf:sequence/sources/src[@name="'$3'"]/text()' 2> /dev/null` | ||
rm tmp.xbgf | ||
./mbgf2xbgf.py $1 $3 $2 tmp.xbgf | ||
xbgf tmp.xbgf `xpath $1 'mbgf:sequence/sources/src[@name="'$3'"]/text()' 2> /dev/null` tmp2.bgf | ||
gdts tmp2.bgf `xpath $1 'mbgf:sequence/sources/src[@name="'$2'"]/text()' 2> /dev/null` | ||
# m2 file.mbgf 1 one.bgf 2 two.bgf | ||
# $0 $1 $2 $3 $4 $5 | ||
./mbgf2xbgf.py $1 $2 $4 tmp.xbgf | ||
xbgf tmp.xbgf $3 $3.tmp | ||
gdts $3.tmp $5 | ||
rm tmp.xbgf | ||
./mbgf2xbgf.py $1 $4 $2 tmp.xbgf | ||
xbgf tmp.xbgf $5 $5.tmp | ||
gdts $5.tmp $3 | ||
# ./mbgf2xbgf.py $1 $2 $4 tmp.xbgf | ||
# xbgf tmp.xbgf $3 $3.tmp | ||
# gdts $3.tmp $5 | ||
# rm tmp.xbgf | ||
# ./mbgf2xbgf.py $1 $4 $2 tmp.xbgf | ||
# xbgf tmp.xbgf $5 $5.tmp | ||
# gdts $5.tmp $3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters