Difference between revisions of "Dictionary Import Element From CSV File"

From Anote2Wiki
Jump to: navigation, search
Line 38: Line 38:
  
 
'''Example 2'''
 
'''Example 2'''
 +
 +
''General delimiter:''Semi-colon ( ; )
 +
''text Delimiter:'' NONE
 +
''Synonym Delimiter:'' Vertical Bar (|)
 +
''ExternalID Delimiter:'' Vertical Bar (|)
 +
''ExternalID Source Delimiter:" WHITE SPACE ( )
 
<pre>
 
<pre>
 
Protein;GRF1;KEGG zma:542291|P49106 IntAct;-
 
Protein;GRF1;KEGG zma:542291|P49106 IntAct;-

Revision as of 17:37, 25 May 2012


This operation allows the user to import information from a CSV file organized (see examples below) to a dictionary. To add elements to the dictionary the user must press the right mouse button and select the Update From CSV File option in Dictionaries sub-menu.

Resources - Dictionary -> Update From CSV File

boarder

Appears a graphical interface that allows the user to select the CSV file and option.

Dictionary Update CSV 2.png

Basic Options:

  • File: pressing the File button the user can browse and select csv file on your computer.
  • General Delimiter: The overall file delimiter to separate the contents of columns
  • Text Delimiter: The delimiter to encapsulate information
  • Synonyms Delimiter: The delimiter for separate synonyms present in a column.
  • ExternalID Delimiter: The delimiter for separate ExternalId present in a column.
  • ExternalID Source Delimiter: The delimiter for separate ExternalID and Source.

Beyond these parameters there are other advanced options. To access advance option the user must press Advance Options and will appear in graphical interface a new panel with advanced options.

Dictionary Update CSV 3.png

Advanced Options:

  • Default Value: Default value for empty value;
  • Column Options: Select the column indices in which appears interest terms (term, class, synonyms and external IDs)

The .csv file examples :

Example 1



Example 2

General delimiter:Semi-colon ( ; ) text Delimiter: NONE Synonym Delimiter: Vertical Bar (|) ExternalID Delimiter: Vertical Bar (|) ExternalID Source Delimiter:" WHITE SPACE ( )

Protein;GRF1;KEGG zma:542291|P49106 IntAct;-
Protein;GRF2;Q01526 SMR;14-3-3-like protein GF14-12|GRF2a
Protein;ATPA;-;ATP synthase subunit alpha, mitochondrial
Protein;CYPLXXVIII;-;Cytochrome P450 78A1|CYP78A1|CYP78