Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danknights authored Mar 1, 2018
1 parent 5584945 commit e2e2812
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,30 @@ Options:
/home/grad00/hillm096/results-171106]
-h, --help Show this message and exit.
```


## Database creation.
To create a BURST database for SHOGUN, follow instructions on the BURST github page to create an acx and edx file with the same base filename, then create a file called "metadata.yaml" in the same folder, with an entry `burst: <basename>`, as in this example:
(https://github.com/knights-lab/SHOGUN/blob/master/shogun/tests/data/metadata.yaml)[https://github.com/knights-lab/SHOGUN/blob/master/shogun/tests/data/metadata.yaml]

You will need a taxonomy file formatted as in the `genomes.small.tax` file (here)[https://github.com/knights-lab/SHOGUN/tree/master/shogun/tests/data] to provide taxonomy. Add an entry to the yaml file with a key `general:` and a sub-key `taxonomy: <taxonomy file name>`. A bowtie2 database base filename and Utree database filename may be added as follows:
```
general:
taxonomy: genomes.small.tax
fasta: genomes.small.fna
shear: sheared_bayes.fixed.txt
function: function/ko
burst: burst/genomes.small
bowtie2: bowtie2/genomes.small
utree: utree/genomes.small
```

A functional database is optional. Examples are shown (here)[https://github.com/knights-lab/SHOGUN/tree/master/shogun/tests/data/function].

All database files for BURST, Bowtie2, and Utree should be in the same parent folder. Once the folder is created and the `metadata.yaml` file is populated as in the above example, the new database may be used in SHOGUN as follows:

```
shogun pipeline -i input.fna -d /path/to/database/parent/folder/ -o output -m burst
shogun pipeline -i input.fna -d /path/to/database/parent/folder/ -o output -m utree
shogun pipeline -i input.fna -d /path/to/database/parent/folder/ -o output -m bowtie2
```

0 comments on commit e2e2812

Please sign in to comment.