Skip to content

Commit a204954

Browse files
Jon PalmerJon Palmer
Jon Palmer
authored and
Jon Palmer
committed
minor bug fixes and updates to docs
1 parent 8082c68 commit a204954

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To see the help menu, simply type `funannotate` in the terminal window. Similar
3232
$ funannotate
3333
3434
Usage: funannotate <command> <arguments>
35-
version: 0.1.0
35+
version: 0.1.3
3636
3737
Description: Funannotate is a genome prediction, annotation, and comparison pipeline.
3838
@@ -52,8 +52,8 @@ Command: clean Find/remove small repetitive contigs
5252
move into the `sample_data` directory of funannotate.
5353

5454
```
55-
#for example, funannotate installed in /usr/local/funannotate
56-
$ cd /usr/local/funannotate/sample_data
55+
#for example, funannotate installed in $HOMEBREW/Cellar/funannotate/0.1.3/libexec
56+
$ cd $HOMEBREW/Cellar/funannotate/0.1.3/libexecsample_data
5757
5858
#run funannotate predict on genome 1
5959
$ funannotate predict -i genome1.fasta -o genome1 -s "Genome one" \

docs/mac_install.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ export PATH="/usr/local/gmes_petap:$PATH"
6767
6868
#add environmental variables
6969
export AUGUSTUS_CONFIG_PATH=/usr/local/Cellar/opt/augustus/libexec/config
70-
export EVM_HOME=/usr/local/Cellar/evidencemodeler/1.1.1
70+
export EVM_HOME=/usr/local/Cellar/evidencemodeler/1.1.2
7171
export GENEMARK_PATH=/usr/local/gmes_petap
7272
export BAMTOOLS_PATH=/usr/local/Cellar/bamtools/2.4.0/bin
7373
```
7474

7575
8) Re-launch a terminal window (or type `source ~/.bash_profile`). Finally run funannotate setup script to download databases and identify any problems.
7676
```
7777
#navigate into funannotate install directory
78-
cd /usr/local/Cellar/funannotate/0.1.1/libexec
78+
cd /usr/local/Cellar/funannotate/0.1.3/libexec
7979
80-
#run setup script
80+
#run setup script, might need sudo here
8181
./setup.sh
8282
```
8383
The script will download and format necessary databases and then check all of the dependencies of funannotate - any tool not properly installed will be flagged by the script.

docs/ubuntu_install.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ cp $HOME/Downloads/gm_key_64 ~/.gm_key
8383
#example using gedit
8484
sudo gedit ~/.bash_aliases
8585
86-
#add folders to PATH
87-
export PATH="/usr/local/funannotate:/usr/local/GAG:/usr/local/gmes_petap:/usr/local/BRAKER1:/usr/local/tRNAscan-SE-1.3.1:/opt/augustus-3.2.1/bin:$PATH"
86+
#add folder for GeneMark to PATH, HomeBrew will take care of other tools
87+
export PATH="/usr/local/gmes_petap:$PATH"
8888
8989
#add environmental variables
90-
export AUGUSTUS_CONFIG_PATH=/opt/augustus-3.2.1/config
90+
export AUGUSTUS_CONFIG_PATH=$HOME/.linuxbrew/opt/augustus/libexec/config
9191
export EVM_HOME=$HOME/.linuxbrew/Cellar/evidencemodeler/1.1.2
9292
export GENEMARK_PATH=/usr/local/gmes_petap
9393
export BAMTOOLS_PATH=$HOME/.linuxbrew/Cellar/bamtools/2.4.0/bin
@@ -96,9 +96,9 @@ export BAMTOOLS_PATH=$HOME/.linuxbrew/Cellar/bamtools/2.4.0/bin
9696
9) Re-launch a terminal window (or type `source ~/.bash_aliases`). Finally run funannotate setup script to download databases and identify any problems.
9797
```
9898
#navigate into funannotate install directory
99-
cd /usr/local/funannotate
99+
cd $HOME/.linuxbrew/Cellar/funannotate/0.1.3/libexec
100100
101-
#run setup script, not you need sudo here to copy over the proper ProteinOrtho version
101+
#run setup script, note you need sudo here to copy over the proper ProteinOrtho version
102102
sudo ./setup.sh
103103
```
104104
The script will download and format necessary databases and then check all of the dependencies of funannotate - any tool not properly installed will be flagged by the script.

funannotate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def fmtcols(mylist, cols):
3131
for i in range(0,num_lines))
3232
return "\n".join(lines)
3333

34-
version = '0.1.2'
34+
version = '0.1.3'
3535

3636
default_help = """
3737
Usage: funannotate <command> <arguments>

lib/library.py

-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,6 @@ def ParseErrorReport(input, Errsummary, val, Discrep, output):
834834
remove.append(tRNA)
835835
remove.append(exon)
836836
remove = set(remove)
837-
print remove
838837
remove_match = re.compile(r'\b(?:%s)+\b' % '|'.join(remove))
839838
with open(output, 'w') as out:
840839
with open(input, 'rU') as GFF:

setup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ if [ "$db" = 'pass' ]; then
4444
#check if Merops is already downloaded
4545
if [ ! -f merops_formatted.fa ]; then
4646
echo "You need to manually download the MEROPS protease database as it requires a log in"
47-
echo "download: merops_scan.lib.txt from here: https://merops.sanger.ac.uk/download/"
48-
echo "then move the file into the funnanotate DB folder, once the file is in the folder the script will proceed."
47+
echo "download: merops_scan.lib from here: https://merops.sanger.ac.uk/download/"
48+
echo "then move the file into /usr/local/share/funannotate, once the file is in the folder the script will proceed."
4949
until [ -f merops_scan.lib ]
5050
do
5151
sleep 5

0 commit comments

Comments
 (0)