File: ecofind.rst

package info (click to toggle)
obitools 1.2.13%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 4,652 kB
  • sloc: python: 18,199; ansic: 1,542; makefile: 98
file content (85 lines) | stat: -rw-r--r-- 2,096 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
:py:mod:`ecofind`: querying a taxonomic database
================================================

:py:mod:`ecofind` retrive taxonomic information from taxonomic database 
given either a *taxid* or a regular expression patterns.
   
:py:mod:`ecofind` specific options
----------------------------------   

   .. cmdoption::   -d <filename>   
   
        Filename containing the database used for the *in silico* PCR. The database
        must be in the ``ecoPCR format`` (see :doc:`obiconvert <./obiconvert>`). 
        
        .. WARNING:: This option is compulsory.
                       
   .. cmdoption::   -a
   
        Enable the search on all alternative names and not only scientific names.
    
   .. cmdoption::   -L

        List all taxonomic rank available for -r option and exit.

   .. cmdoption::  -r

        Restrict to given taxonomic rank.

   .. cmdoption::  -s

        Displays all subtree's information for the given taxid.

   .. cmdoption::  -p 
   
        Displays all parental tree's information for the given taxid.

   .. cmdoption::  -P

        Display taxonomic Path as suplementary column in output

   .. cmdoption::  -h   
   
            Print help.
                       
  
  
Output file
-----------
	
		The output file contains several columns, with '|' as separator, and describes 
		the properties of the retrieved *taxids*.
			
		column 1: the *taxid*
			
		column 2: the taxonomic rank
			
		column 3: the name (not only scientific)
			
		column 4: class name
			
		column 5: the scientific name
			
		column 6 (optional): the full taxonomic path of the *taxid*
			
  
  
Examples
--------
	
	*Example 1:*
	    
	    		.. code-block:: bash
	    
	       			>  ecofind -d mydatabase 'homo ' > homo_.tax 
	     
			Retrieve all *taxids* whose 'homo ' is contained in the associated names.
	
	*Example 2:*
	
	    		.. code-block:: bash
	    
	       			> ecofind -d mydatabase  -p 9606 -P > sapiens.info.tax
	     
			Retrieve all parents taxa of the 9606 *taxid*. The -P option add a supplementary column
			with the full path for each *taxid*.