Hello,

For running cgi-scripts, there should also be an .hg.conf file in your 
home working directory with permission set so that only the owner (you) 
can read/write/execute. Explained here: 
http://genomewiki.cse.ucsc.edu/index.php/Browser_Installation see the 
end of section #6

For "make alpha", a checked out copy of the source tree should be in 
your working directory and any changes made there in your own sandbox. 
 From your path ~kent/src/hg/makeDb/trackDb, run the make program. Check 
in changes to the main cvs tree before or after running "make 
[alpha|strict] DBS=<db>".
- alpha created lines in the mySQL table trackDb for all tracks
- strict makes lines in trackDb only for those tracks that actually have 
tables
   (less clustered table, especially for a minimal install)
- DBS is optional, using it restricts the command.
   ex. DBS=hg18 means that only hg18 would be updated

These and more details are in the jksrc download at /scr/products/README*

Jennifer Jackson
UCSC Genome Bioinformatics Group

Sridhar A Malkaram wrote:
> Hello,
>
> I have a specific question regarding using cgi-scripts along with 
> genome-browser.
> I want to load a bed file to the mysql database, using hgLoadBed command 
> from within a cgi script.
>
> However, it complains that it cannot read the required information from 
> .hg.conf file despite the fact that I have the .hg.conf file in the 
> web-user's home directory. 
> It also cannot find the data base.
>
> What are the requirements to run hgLoadBed and make alpha commands using a 
> cgi-script.
>
>
> Thankyou,
>
> sridhar
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome
>   
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to