Mercurial > repos > peterjc > get_orfs_or_cdss
annotate tools/filters/get_orfs_or_cdss.txt @ 2:324775a016ce draft
Uploaded v0.0.3, bundle Ssuis.fasta test file X record Python script version
author | peterjc |
---|---|
date | Tue, 23 Apr 2013 11:48:43 -0400 |
parents | 922d69bd5258 |
children |
rev | line source |
---|---|
0 | 1 Galaxy tool to find ORFs or simple CDSs |
2 ======================================= | |
3 | |
1
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
4 This tool is copyright 2011-2013 by Peter Cock, The James Hutton Institute |
0 | 5 (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved. |
6 See the licence text below. | |
7 | |
8 This tool is a short Python script (using Biopython library functions) | |
9 to search nucleotide sequences for open reading frames (ORFs) or coding | |
10 sequences (CDSs) where the first potential start codon is used. See the | |
11 help text in the XML file for more information. | |
12 | |
13 There are just two files to install: | |
14 | |
15 * get_orfs_or_cdss.py (the Python script) | |
16 * get_orfs_or_cdss.xml (the Galaxy tool definition) | |
17 | |
1
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
18 If you are installing this manually (rather than via the Tool Shed), the |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
19 suggested location is in the Galaxy folder tools/filters next to the tool |
0 | 20 for calling sff_extract.py for converting SFF to FASTQ or FASTA + QUAL. |
21 You will also need to modify the tools_conf.xml file to tell Galaxy to offer the | |
22 tool. One suggested location is in the filters section. Simply add the line: | |
23 | |
24 <tool file="filters/get_orfs_or_cdss.xml" /> | |
25 | |
26 You will also need to install Biopython 1.54 or later. If you want to run | |
27 the unit tests, include this line in tools_conf.xml.sample and the sample | |
1
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
28 FASTA files under the test-data directory. Then: |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
29 |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
30 ./run_functional_tests.sh -id get_orfs_or_cdss |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
31 |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
32 That's it. |
0 | 33 |
34 | |
35 History | |
36 ======= | |
37 | |
38 v0.0.1 - Initial version. | |
1
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
39 v0.0.2 - Correct labelling issue on reverse strand. |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
40 - Use the new <stdio> settings in the XML wrappers to catch errors |
2
324775a016ce
Uploaded v0.0.3, bundle Ssuis.fasta test file X record Python script version
peterjc
parents:
1
diff
changeset
|
41 v0.0.3 - Include unit tests. |
324775a016ce
Uploaded v0.0.3, bundle Ssuis.fasta test file X record Python script version
peterjc
parents:
1
diff
changeset
|
42 - Record Python script version when run from Galaxy. |
0 | 43 |
44 | |
45 Developers | |
46 ========== | |
47 | |
48 This script and related tools are being developed on the following hg branch: | |
49 http://bitbucket.org/peterjc/galaxy-central/src/tools | |
50 | |
2
324775a016ce
Uploaded v0.0.3, bundle Ssuis.fasta test file X record Python script version
peterjc
parents:
1
diff
changeset
|
51 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use |
0 | 52 the following command from the Galaxy root folder: |
53 | |
2
324775a016ce
Uploaded v0.0.3, bundle Ssuis.fasta test file X record Python script version
peterjc
parents:
1
diff
changeset
|
54 $ tar -czf get_orfs_or_cdss.tar.gz tools/filters/get_orfs_or_cdss.* test-data/get_orf_input*.fasta test-data/Ssuis.fasta |
0 | 55 |
56 Check this worked: | |
57 | |
58 $ tar -tzf get_orfs_or_cdss.tar.gz | |
59 filter/get_orfs_or_cdss.py | |
60 filter/get_orfs_or_cdss.txt | |
61 filter/get_orfs_or_cdss.xml | |
2
324775a016ce
Uploaded v0.0.3, bundle Ssuis.fasta test file X record Python script version
peterjc
parents:
1
diff
changeset
|
62 test-data/get_orf_input.fasta |
1
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
63 test-data/get_orf_input.Suis_ORF.nuc.fasta |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
64 test-data/get_orf_input.Suis_ORF.prot.fasta |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
65 test-data/get_orf_input.t11_nuc_out.fasta |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
66 test-data/get_orf_input.t11_open_nuc_out.fasta |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
67 test-data/get_orf_input.t11_open_prot_out.fasta |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
68 test-data/get_orf_input.t11_prot_out.fasta |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
69 test-data/get_orf_input.t1_nuc_out.fasta |
922d69bd5258
Uploaded v0.0.2, fixes labelling issue on reverse strand.
peterjc
parents:
0
diff
changeset
|
70 test-data/get_orf_input.t1_prot_out.fasta |
2
324775a016ce
Uploaded v0.0.3, bundle Ssuis.fasta test file X record Python script version
peterjc
parents:
1
diff
changeset
|
71 test-data/Ssuis.fasta |
0 | 72 |
73 | |
74 Licence (MIT/BSD style) | |
75 ======================= | |
76 | |
77 Permission to use, copy, modify, and distribute this software and its | |
78 documentation with or without modifications and for any purpose and | |
79 without fee is hereby granted, provided that any copyright notices | |
80 appear in all copies and that both those copyright notices and this | |
81 permission notice appear in supporting documentation, and that the | |
82 names of the contributors or copyright holders not be used in | |
83 advertising or publicity pertaining to distribution of the software | |
84 without specific prior permission. | |
85 | |
86 THE CONTRIBUTORS AND COPYRIGHT HOLDERS OF THIS SOFTWARE DISCLAIM ALL | |
87 WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED | |
88 WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE | |
89 CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT | |
90 OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS | |
91 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE | |
92 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE | |
93 OR PERFORMANCE OF THIS SOFTWARE. |