From ff515ef8b6363357ce1e67e541ca2db446a98b6d Mon Sep 17 00:00:00 2001 From: Glenn Proctor <gp1@sanger.ac.uk> Date: Mon, 4 Apr 2005 09:29:07 +0000 Subject: [PATCH] *** empty log message *** --- .../XrefMapper/caenorhabditis_elegans.pm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/misc-scripts/xref_mapping/XrefMapper/caenorhabditis_elegans.pm b/misc-scripts/xref_mapping/XrefMapper/caenorhabditis_elegans.pm index a7fe39461a..52ebfaf80e 100644 --- a/misc-scripts/xref_mapping/XrefMapper/caenorhabditis_elegans.pm +++ b/misc-scripts/xref_mapping/XrefMapper/caenorhabditis_elegans.pm @@ -12,15 +12,7 @@ sub get_set_lists { } -sub gene_description_filter_regexps { - - return ('[0-9A-Z]+\.\d*[A-Z]* PROTEIN[ \.]', - '\(\d[A-Z]\d+\)\.', - '\([0-9A-Z]+\.\d*[A-Z]* PROTEIN\)[ \.]', - '^\(*HYPOTHETICAL\s+.*', - '^\s*\(FRAGMENT\)\.?\s*$' ); -} # Elegans is imported from WormBase. The gene and transcript stable IDs # are the WormBase identifiers. The display_xref_ids for genes and @@ -61,4 +53,15 @@ sub build_gene_display_xrefs { } + +sub gene_description_filter_regexps { + + return ('[0-9A-Z]+\.\d*[A-Z]* PROTEIN[ \.]', + '\(\d[A-Z]\d+\)\.', + '\([0-9A-Z]+\.\d*[A-Z]* PROTEIN\)[ \.]', + '^\(*HYPOTHETICAL\s+.*', + '^\s*\(FRAGMENT\)\.?\s*$' ); + +} + 1; -- GitLab