birchdocdbkit.py is a command line client designed to be run by BioLegato to make changes in the BIRCH documentation database. Based on objects and commands in inputfile, birchdocdbkit.py generates SQL statements to make the corresponding changes in the database.
inputfile - TSV input file with queries in the form of database objects.RATIONALE
databasefile - sqlite database file
--commit - By default, will only produce a report on sanity checking. If --commit is specified, the change is made provided that sanity checking succeeded.
--outfile - Output file used only with the SHOW directive.
| Package |
Program |
| Name Description Category Program Documentation Data Platform Installation |
Name Description Launch Category Package Documentation Data SampleInput SampleOutput Platform Installation |
| Category |
File |
| Name Programs Packages |
Name Description Command |
| Class
dependencies - For each class of objects, the table lists
other child classes that may need to be changed if the
parent object changes. |
|||
| Package |
Program |
Category |
File |
PackagePkgProg |
ProgramPkgProg |
CategoryPkgCat |
FilePkgDoc |
| ComType |
Platform |
||
ComTypeProgLaunch |
PlatformPkgPlat |
||
| Transaction |
Write one or more objects to an output
file |
| Syntax |
SHOW<tab><class><tab><object> ; |
| Example |
-------------------------------- -- show package object SHOW PACKAGE NCBI ; |
| ---------------------------------------- Package NCBI Description Database tools - Natl. Ctr. for Biotech. Information Program sequin Program Cn3D Program blastp Program blastx Program blastn Program tblastn Program tblastx Program blast_formatter Program makeblastdb Program blastdbcmd Program tbl2asn Program magicblast Platform linux-x86_64,osx-x86_64 Installation BIRCH |
| -------------------------------- -- show program objects SHOW PROGRAM bachrest ; SHOW PROGRAM spades ; |
| ---------------------------------------- Program bachrest Description Restriction site search (batch) Category Sequence - Restriction Analysis Package FSAP Launch interactive bachrest Launch bldna DNA/RNA --> BACHREST Documentation $doc/fsap/rest.txt Documentation $tutorials/bioLegato/sequence/sequence.html Data $dat/REBASE/type2.lst Platform linux-x86_64,osx-x86_64 Installation BIRCH ---------------------------------------- Program spades Description Genome assembler Category Sequence - DNA Sequencing and Assembly Package Saint Petersberg Algorithmic Biology Lab Launch command spades.py [options] -o <output_dir> Documentation $doc/spades/manual.html Documentation $doc/spades/spades.man Data $dat/spades/test_dataset Data $dat/spades/test_dataset_plasmid Platform linux-x86_64 Installation BIRCH |
| Transaction |
add an object to an existing class assumes that file objects referenced already exist |
| Syntax |
INSERT_INTO<tab><class><tab><object> |
| Example |
INSERT_INTO PROGRAM
numseq Description print a sequence Launch interactive numseq Launch bldna DNA/RNA --> numseq Documentation $doc/fsap/numseq.txt Documentation $doc/fsap/fsap.txt Package FSAP Category Sequence Platform L:l:M:m Installation BIRCH ; |
| |
| Transaction |
delete an object, and its child objects, from a class. |
| Syntax |
DELETE<tab><class><tab><object> |
| Example |
DELETE
PROGRAM numseq ; |
| Transaction |
add a field to an object |
| Syntax |
UPDATE<tab><class><tab><object> SET<tab><field><tab><value> |
| Example |
UPDATE
PROGRAM numseq SET Documentation $BIRCH/doc/fsap/numseqprime.txt ; |
| Transaction |
set a field to NULL |
| Syntax |
UPDATE<tab><class><tab><object> UNSET<tab><field><tab><value> |
| Example |
UPDATE
PROGRAM numseq UNSET Documentation $BIRCH/doc/fsap/numseqprime.txt ; |
sql2htmldoc.py - Produces HTML documentation pages for BIRCH, usingn the Sqlite database as input.AUTHOR
Dr. Brian Fristensky
Department of Plant Science
University of Manitoba
Winnipeg, MB Canada R3T 2N2
brian.fristensky@umanitoba.ca
http://home.cc.umanitoba.ca/~frist