ensembl-hive  2.8.1
XrefParser::DBASSParser Class Reference

Public Member Functions

public void run ()
 
public Boolean is_file_header_valid ()
 

Detailed Description

Definition at line 5 of file DBASSParser.pm.

Member Function Documentation

◆ is_file_header_valid()

public Boolean XrefParser::DBASSParser::is_file_header_valid ( )
  Arg [1..N] : list of column names provided by Text::CSV::header()
  Example    :
if ( !is_file_header_valid( $csv->header( $fh ) ) ) {
confess 'Bad header';
}
  Description: Verifies if the header of a DBASS file follows expected
               syntax and contains expected column names.
  Return type: boolean
  Exceptions : none
  Caller     : internal
  Status     : Stable
 
Code:
click to view

◆ run()

public void XrefParser::DBASSParser::run ( )
  Arg [1]    : HashRef standard list of arguments from ParseSource
  Example    :
$dbass_parser->run({ ... });
  Description: Extract DBASS3/DBASS5 entries from a comma-delimited
               file downloaded from the DBASS Web site, then insert
               corresponding xrefs and gene_direct_xref links into the
               xref database.
               The columns of the file should be the following:
                1) DBASS Gene ID
                2) DBASS Gene Name
                3) DBASS Gene Description
                4) Ensembl Gene ID
               with the first line containing column names and all
               subsequent ones containing entries proper. All column
               values, including names from the header as well as any
               empty strings, can be surrounded by pairs of double
               quotes.
               DBASS Gene Name can be either a single name, a
               'name/synonym' pair, or a 'name (synonym)' pair.
               Ensembl Gene ID can be an empty string, indicating an
               unmapped entry.
  Return type: none
  Exceptions : throws on all processing errors
  Caller     : ParseSource in the xref pipeline
  Status     : Stable
 
Code:
click to view

The documentation for this class was generated from the following file:
map
public map()
XrefParser::DBASSParser::run
public void run()
XrefParser::DBASSParser::is_file_header_valid
public Boolean is_file_header_valid()