← 2.2. Details of GIVE Web Components ↑ Index 3.2. MySQL commands for data management →

GIVE-Toolbox usages

1. initial_ref.sh

Initialize GIVE database structure with a new reference genome.

bash initial_ref.sh [-u <mysqlu>] [-p <mysqlp>] [-r <ref>] [-s <species_name>] [-c <species_cname>] [-f <file>]

The arguments of initial_ref.sh are:

2. add_trackGroup.sh

Add a track group to a reference genome.

bash add_trackGroup.sh [-u <mysqlu>] [-p <mysqlp>] [-r <ref>] [-g <group_name>] [-l <long_label>] [-o <priority>] [-s <single_choice>]

3. add_geneAnnot.sh

Add UCSC known gene annotations.

bash add_geneAnnot.sh [-u <mysqlu>] [-p <mysqlp>] [-r <ref>][-t <track_name>] [-g <group_name>] [-l <long_label>] [-s<short_label>]
[-o <priority>] [-v <visibility>] [-f <file>]

4. add_track_bed.sh

Add a data track from bed format file to a track group.

bash add_track_bed.sh [-u <mysqlu>] [-p <mysqlp>] [-r <ref>][-t <track_name>] [-g <group_name>] [-l <long_label>] [-s<short_label>] [-o <priority>] [-v <visibility>] [-f <file>]

5. add_track_bigWig.sh

Use script add_track_bigwig.sh to build track from bigWig data file.

bash add_track_bigwig.sh [-u <mysqlu>] [-p <mysqlp>] [-r <ref>] [-t <track_name>] [-g <group_name>] [-l <long_label>] [-s <short_label>] [-o <priority>] [-v <visibility>] [-a <autoscale>] [-W <windowMax>] [-w <windowMin>] [-f <file>]

6. add_track_interaction.sh

bash add_track_interaction.sh [-u <mysqlu>] [-p <mysqlp>] [-r <ref>] [-t <track_name>] [-g <group_name>] [-l <long_label>] [-s <short_label>] [-o <priority>] [-v <visibility>] [-q <quantile>] [-f <file>]

7. config_host.sh

This script tool will configure the “/includes/constants.php" and "/html/components/basic-func/constants.js" with user supplied arguments. Please make sure that you have the authority to write these files.

bash config_host.sh [-r <give_root>] [-u <mysqlu>] [-p <mysqlp>] [-d <host_url>]

8. list_tracks.sh

List existing data tracks in a reference genome. It will show tree structure of the relationships of the track groups and tracks.

If -a is set as “true”, it will ignore other arguments and output all the reference genomes and associated track groups and tracks. If -a is not set as “true”, the 3 arguments -r, -g, -t will determine the output structure level. If only set -r, it will output all the track group names and associated track names in the -r specified reference genome database. If set both -r and -g, then it will list all the track names of -r -g specified track group. If set all the -r -g -t arguments, it will output the detail info of -r -g -t specified track.

bash list_tracks.sh [-u <mysqlu>] [-p <mysqlp>] [-a <true>] [-r <ref>] [-g <group_name>] [-t <track_name>]

9. remove_data.sh

Remove specified data track, track group or the whole reference genome.

 bash remove_data.sh [-u <mysqlu>] [-p <mysqlp>] [-r <ref>] [-g <group_name>] [-t <track_name>] [-a <CONFIRM>]

10. update_give.sh

This script tool will update the GIVE components according to the master branch of GIVE GitHub repo. It will replace the files in directories <give_root>/includes, <give_root>/html, and <toolbox_dir>. Please make sure that you have the authority to write those files.

bash update_give.sh [-r <give_root>] [-b <toolbox_dir>] [-t <tmp_dir>] [-g <git_branch>]
     
← 2.2. Details of GIVE Web Components ↑ Index 3.2. MySQL commands for data management →