<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/cdsbank/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/cdsbank/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 28 Jul 2013 20:54:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cdsbank/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/cdsbank/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For local installation follow the following steps&lt;/p&gt;
&lt;p&gt;1) Install mongodb&lt;br /&gt;
For more information about mongodb go to its home page &lt;a href="http://www.mongodb.org/" rel="nofollow"&gt;http://www.mongodb.org/&lt;/a&gt;&lt;br /&gt;
Here you can find documention and download mongodb binaries for many platforms including Windows, Mac Os X, Solaris, and Linux&lt;br /&gt;
For Ubuntu you can also use the 10gen repository as follows:&lt;/p&gt;
&lt;p&gt;sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10&lt;/p&gt;
&lt;p&gt;echo 'deb &lt;a href="http://downloads-distro.mongodb.org/repo/ubuntu-upstart" rel="nofollow"&gt;http://downloads-distro.mongodb.org/repo/ubuntu-upstart&lt;/a&gt; dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list&lt;/p&gt;
&lt;p&gt;sudo apt-get update&lt;/p&gt;
&lt;p&gt;sudo apt-get install mongodb-10gen&lt;/p&gt;
&lt;p&gt;Optionally: change the vi /etc/mongodb.conf configuration file as needed.&lt;/p&gt;
&lt;p&gt;On the command line type: mongo&lt;br /&gt;
This connects to the daemon and establishes an interactive interface&lt;br /&gt;
At the prompt type: show dbs&lt;br /&gt;
This lists the default database(s). Just "local" in my install.&lt;/p&gt;
&lt;p&gt;2) Install the Aspera file transfer software for fast NCBI data downloads. See the NCBI site for installation instructions&lt;/p&gt;
&lt;p&gt;3) Create the CDSbank database. Download the following scripts and programs&lt;/p&gt;
&lt;p&gt;Scripts&lt;br /&gt;
rebuildDB.sh      Complete rebuild of all databases&lt;br /&gt;
get_taxDB.sh      Rebuild of the taxonomy database&lt;br /&gt;
updateDB.sh       Update of subset of Genbank sections&lt;br /&gt;
update.make       Called by updateDB.sh to allow parallel updates of files&lt;/p&gt;
&lt;p&gt;Programs&lt;br /&gt;
Taxonomy2Mongo.py Python program to convert the NCBI taxonomy to a mongo DB&lt;br /&gt;
GB2mongo.py       Read genbank files and load each entry into mongo DB&lt;/p&gt;
&lt;p&gt;Libraries&lt;br /&gt;
GBmongo.py        Main python library for CDSbank programs&lt;br /&gt;
genbank.py        Python library to parse genbank files&lt;br /&gt;
seqlib.py         Python library with basic sequence handling routines&lt;br /&gt;
geneticCode       Python library with genetic code handling routines&lt;/p&gt;
&lt;p&gt;The scripts use environment variable CDSBANK, which should be set to the directory with scripts. Programs and libraries should be installed in directories where they will be found automatically or PATH and/or PYTHONPATH should be set appropriately.&lt;/p&gt;
&lt;p&gt;For the first build or full rebuild issue the command&lt;br /&gt;
./rebuild.sh 196&lt;br /&gt;
where 196 is the current Genbank release number&lt;br /&gt;
This will first build the taxonomy database, then all whole-genome shotgun data, refseq, genbank except the CON division, the CON division (CON depends on all other genbank raw DNA sequences being available and must come last).&lt;/p&gt;
&lt;p&gt;rebuild.sh will call updateDB.sh but you can use updateDB.sh yourself as well as follows&lt;/p&gt;
&lt;p&gt;./updateDB.sh  LOCALdirectory NBCIdirectory FILEquery&lt;br /&gt;
All genbank files in the NCBIdirectory that contain the string FILEquery will be copied to LOCALdirectory and processed. For example:&lt;/p&gt;
&lt;p&gt;updateDB.sh refseq refseq/release/complete &lt;span&gt;[^r]&lt;/span&gt;.gbff.gz&lt;br /&gt;
Processes all non-mstr gbff.gz files from the refseq/release/complete directory of ncbi and places the results in the refseq directory. If the command is repeated only files with a different name or size will be downloaded and processed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bart Hazes</dc:creator><pubDate>Sun, 28 Jul 2013 20:54:19 -0000</pubDate><guid>https://sourceforge.netc9b453eb05d7d479b08e50f1adb0b6cafc31f3ed</guid></item><item><title>Home modified by Bart Hazes</title><link>https://sourceforge.net/p/cdsbank/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/cdsbank/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/barthazes/"&gt;Bart Hazes&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-51f55bbaf1fd8d660c0727ff" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bart Hazes</dc:creator><pubDate>Sun, 28 Jul 2013 17:58:18 -0000</pubDate><guid>https://sourceforge.netca03748f2caeef68bf262116519e0cfc52de8a9d</guid></item></channel></rss>