Dictionary Import Element From CSV File

From Anote2Wiki
Revision as of 08:37, 19 June 2012 by Anote2Wiki (talk | contribs)
Jump to: navigation, search


The user can import information from a CSV file (see examples below) to adding term to dictionary. For that user must press the right mouse button in dictionary data-type and select 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: TAB ( \t )

text Delimiter: NONE

Synonym Delimiter: Vertical Bar (|)

ExternalID Delimiter: Vertical Bar (|)

ExternalID Source Delimiter: WHITE SPACE (;)


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


Example 2

General delimiter: Semi-colon ( ; )

text Delimiter: QUOTATIONS MARK (")

Synonym Delimiter: Vertical Bar (|)

ExternalID Delimiter: Vertical Bar (|)

ExternalID Source Delimiter: WHITE SPACE ( )

Column number

  • Term: 2
  • Class: 1
  • Synonyms: 4
  • ExternalID: 3

Default Delimiter: HYPHEN (-)

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