Tripal
Static Public Attributes | Protected Member Functions | List of all members
TripalProteinFASTADownloader Class Reference
Inheritance diagram for TripalProteinFASTADownloader:
Inheritance graph
[legend]
Collaboration diagram for TripalProteinFASTADownloader:
Collaboration graph
[legend]

Static Public Attributes

static $label = 'FASTA'
 
static $full_label = 'Protein FASTA'
 
static $default_extension = 'faa'
 
- Static Public Attributes inherited from TripalFieldDownloader
static $label = 'Generic'
 
static $full_label = 'Generic File format'
 
static $default_extension = 'txt'
 

Protected Member Functions

 formatEntity ($entity)
 
 getHeader ()
 
- Protected Member Functions inherited from TripalFieldDownloader
 setFields ()
 
 setFields2Terms ()
 
 setPrintableFields ()
 

Additional Inherited Members

- Public Member Functions inherited from TripalFieldDownloader
 __construct ($collection_id, $outfile_name)
 
 isFieldSupported ($field, $instance)
 
 getURL ()
 
 delete ()
 
 writeInit (TripalJob $job=NULL)
 
 writeEntity ($entity, TripalJob $job=NULL)
 
 writeDone (TripalJob $job=NULL)
 
 write (TripalJob $job=NULL)
 
 download ()
 
- Protected Attributes inherited from TripalFieldDownloader
 $collection = NULL
 
 $collection_id = NULL
 
 $collection_bundles = NULL
 
 $outfile = ''
 
 $printable_fields = []
 
 $remote_entity = ''
 
 $fields2terms = []
 
 $fields = []
 
 $fh
 

Member Function Documentation

◆ formatEntity()

TripalProteinFASTADownloader::formatEntity (   $entity)
protected
See also
TripalFieldDownloader::format()

Reimplemented from TripalFieldDownloader.

◆ getHeader()

TripalProteinFASTADownloader::getHeader ( )
protected

Member Data Documentation

◆ $default_extension

TripalProteinFASTADownloader::$default_extension = 'faa'
static

Indicates the default extension for the outputfile.

◆ $full_label

TripalProteinFASTADownloader::$full_label = 'Protein FASTA'
static

A more verbose label that better describes the formatter.

◆ $label

TripalProteinFASTADownloader::$label = 'FASTA'
static

Sets the label shown to the user describing this formatter. It should be a short identifier. Use the $full_label for a more descriptive label.


The documentation for this class was generated from the following file: