freeWAIS-sf ".fmt" File Examples


Here there are some examples of .fmt files used by myself to index freeWAIS-sf-2.x and higher databases. For each of them I report:

  1. An extract from the ASCII file used for generating indexed databases
  2. The .fde (description) file, which is optional, but provides some more information about fields definitions
  3. The .fmt (format) file
A preliminary consideration is that .fmt files MUST have the same name of the ASCII file to be indexed.
For example, if the file we want to index is called FOO, the .fmt file name should be named FOO.fmt
Case is important, of course!

For more information you can inspect the freeWAIS-sf manual, with particular regards to its Sample Format Description section.




Example #1

This is the ASCII source file:

-----------------------------------------------------------
FAMILY: IT_MMA_SN_001
RESEARCHER: Doe John
INSTITUTION: Audiological Service - ENL Institute - Unversity of Wonderland
ADDRESS: Viale Verdi 43
EMAIL: xyz@vanilla.uniwl.it
CITY: ROMA
COUNTRY: ITALY
INHERITANCE: Autosomal Dominant
FREQIMPAIR: Low
HEARLEVEL: Mild
TYPE: Sensorineural
ONSET: Late
PROGRESSION: Stable
LATERALIZATION: Unilateral
VESTIBULE: Involved
CONSANGUINEITY: Absent
AFFECTED: 13
CARRIER: 1
NORMAL: 6
GENERATIONS: 1
LOCUSNAME: DNFA3
CHROMOSOME: Unknown
GENENAME: Unknown

FAMILY: IT_MMA_SN_002
RESEARCHER: Doe John
INSTITUTION: Audiological Service - ENL Institute - Unversity of Wonderland
ADDRESS: Viale Verdi 43
EMAIL: xyz@vanilla.uniwl.it
CITY: ROMA
COUNTRY: ITALY
INHERITANCE: Autosomal Dominant
FREQIMPAIR: Mid
HEARLEVEL: Moderate
TYPE: Sensorineural
ONSET: Uncertain
PROGRESSION: Progressive
LATERALIZATION: Bilateral
VESTIBULE: Involved
CONSANGUINEITY: Present
AFFECTED: 5
CARRIER: 2
NORMAL: 7
GENERATIONS: 2
LOCUSNAME: Unknown
CHROMOSOME: Unknown
GENENAME: Unknown

FAMILY: IT_MMA_SN_003
RESEARCHER: Doe John
INSTITUTION: Audiological Service - ENL Institute - Unversity of Wonderland
ADDRESS: Viale Verdi 43
EMAIL: xyz@vanilla.uniwl.it
CITY: ROMA
COUNTRY: ITALY
INHERITANCE: Autosomal Dominant
FREQIMPAIR: High
HEARLEVEL: Severe
TYPE: Sensorineural
ONSET: Late
PROGRESSION: Progressive
LATERALIZATION: Bilateral
VESTIBULE: Uninvolved
CONSANGUINEITY: Absent
AFFECTED: 1
CARRIER: 3
NORMAL: 12
GENERATIONS: 1
LOCUSNAME: DNFA5
CHROMOSOME: Unknown
GENENAME: Unknown
-----------------------------------------------------------

This is its .fde file:

-----------------------------------------------------------
family:         Family Code
researcher:     Researcher
inheritance:    Inheritance
freqimpair:     Frequency Impairment
hearlevel:      Hearing Level
type:           Type
onset:          Onset
progression:    Progression
lateralization: Lateralization
vestibule:      Vestibule Involvement   
consanguineity: Consanguineity
-----------------------------------------------------------

And this is its .fmt file :

-----------------------------------------------------------
record-sep: /^\n/

layout:
headline: /^FAMILY: / /^RESEARCHER:/ 25 /^FAMILY: */
headline: /^RESEARCHER: / /^INSTITUTION:/ 70 /^RESEARCHER: */
end:

region: /^FAMILY: / /^FAMILY: */
family "Family Code" TEXT LOCAL
end: /^RESEARCHER:/

region: /^RESEARCHER: / /^RESEARCHER: */
researcher "Researcher" TEXT LOCAL
end: /^INSTITUTION:/

region: /^INHERITANCE: / /^INHERITANCE: */
inheritance "Inheritance" TEXT LOCAL
end: /^FREQIMPAIR:/

region: /^FREQIMPAIR: / /^FREQIMPAIR: */
freqimpair "Frequency Impairment" TEXT LOCAL
end: /^HEARLEVEL:/

region: /^HEARLEVEL: / /^HEARLEVEL: */
hearlevel "Hearing Level" TEXT LOCAL
end: /^TYPE:/

region: /^TYPE: / /^TYPE: */
type "Type" TEXT LOCAL
end: /^ONSET:/

region: /^ONSET: / /^ONSET: */
onset "Onset" TEXT LOCAL
end: /^PROGRESSION:/

region: /^PROGRESSION: / /^PROGRESSION: */
progression "Progression" TEXT LOCAL
end: /^LATERALIZATION:/

region: /^LATERALIZATION: / /^LATERALIZATION: */
lateralization "Lateralization" TEXT LOCAL
end: /^VESTIBULE:/

region: /^VESTIBULE: / /^VESTIBULE: */
vestibule "Vestibular Involvement" TEXT LOCAL
end: /^CONSANGUINEITY:/

region: /^CONSANGUINEITY: / /^CONSANGUINEITY: */
consanguineity "Consanguineity" TEXT LOCAL
end: /^AFFECTED:/


Example #2

This is the ASCII source file:

-----------------------------------------------------------
LO: C/07
TI: AAU REPORTS
OT: 
CN: University of Aarhus. Botanical Institute
DT: 1988-....;
PP: Risskov
SN: 0105-4236
IF: 
NO: Gia':
    * Reports from the Botanical Institute, University of Aarhus
LC: QK 1
HO: 18(1988)-
GA: 

OT: * Bulletin de la Societe' botanique de France
CN: Societe' Botanique de France
DT: 1993-....;
PP: Chatenay-Malabry
SN: 
IF: 0.083
NO: Fusione di:
    * Bulletin de la Societe' botanique de France. Actualites botaniques
    * Bulletin de la Societe' botanique de France. Lettres botaniques
LC: QK 1
HO: 40(1993)-
GA: 

OT: 
CN: Nederlandse Botanische Vereniging
DT: 1952-....;
PP: Leiden
SN: 0044-5983
IF: 0.775
NO: Fusione di:
    * Nederlandsch kruidkundig archief (non posseduto)
    * Recueil des travaux botaniques neerlandais (non posseduto)
LC: QK 1
HO: 19(1970)-
GA: 
-----------------------------------------------------------

This is its .fde file:

-----------------------------------------------------------
ti: Title
if: Impact
pp: PublPlace
-----------------------------------------------------------

And this is its .fmt file :

-----------------------------------------------------------
record-sep: /^\n/

layout:
headline: /^TI: / /^[A-Z][A-Z]:/ 50 /^TI: */
end:

region: /^TI: / /^TI: */
ti "Title" stemming TEXT LOCAL
end: /^[A-Z][A-Z]:/

region: /^IF: / /^IF: */
if "Impact" numeric: /^[^0-9]*/ 6 TEXT LOCAL
end: /^[A-Z][A-Z]:/

region: /^PP: / /^PP: */
pp "PublPlace" TEXT LOCAL
end: /^[A-Z][A-Z]:/


Example #3

This is the ASCII source file:

-----------------------------------------------------------
Surname: ABATANGELO
Name: GIOVANNI
Position: Professore Ordinario
Department: ISTOLOGIA
Location: 3 Nord
Voice: +39 (49) - 827-6081
Fax: +39 (49) - 827-6079 
EMail: abatange@civ.bio.unipd.it
Address: Viale G. COLOMBO 3
ZIP: 35121
City: PADOVA
State: ITALIA

Surname: ABBIADI
Name: LUCIO
Position: Agente Servizi Ausiliari
Department: CENTRO INTERDIPARTIMENTALE SERVIZI (CIS)
Location: Terra
Voice: +39 (49) - 827-6003
Fax: +39 (49) - 827-6009 
EMail: stec@civ.bio.unipd.it
Address: Viale G. COLOMBO 3
ZIP: 35121
City: PADOVA
State: ITALIA

Surname: ABENANTE
Name: CIRO
Position: Agente Tecnico
Department: BIOLOGIA
Location: 1 Sud
Voice: +39 (49) - 827-6169
Fax: +39 (49) - 827-6199 
EMail: 
Address: Viale G. COLOMBO 3
ZIP: 35121
City: PADOVA
State: ITALIA
-----------------------------------------------------------

This is its .fde file:

-----------------------------------------------------------
surname:    Cognome
name:       Nome
department: Dipartimento
-----------------------------------------------------------

And this is its .fmt file :

-----------------------------------------------------------
record-sep: /^\n/

layout:
headline: /^Surname: / /^Name:/ 25 /^Surname: */
headline: /^Name: / /^Position:/ 25 /^Name: */
end:

region: /^Surname: / /^Surname: */
surname "Cognome" TEXT LOCAL
end: /^Name:/

region: /^Name: / /^Name: */
name "Nome" TEXT LOCAL
end: /^Position:/

region: /^Department: / /^Department: */
department "Dipartimento" TEXT LOCAL
end: /^Location:/


Example #4

This is the ASCII source file:

-----------------------------------------------------------
Title: MOLECULAR STUDY OF THE MYOTONIC DYSTROPHY GENE. LINKAGE ANALYSIS AND SEARCH FOR A CANDIDATE GENE
Investigator: DALLAPICCOLA BRUNO
Institution: DIP. SANITA' PUBBLICA E BIOLOGIA CELLLARE - II UNIVERSITA' DI ROMA TOR VERGATA
City: ROMA
Classification: 1.1 NEUROMUSC. - MDY - GE
Grant: 1991 I
TimeExt: 2
Renewals: 
Amount: 300

Title: IDENTIFICATION OF PROBES ASSOCIATED TO THE EMERY-DREYFUSS MUSCULAR DYSTROPHY
Investigator: VEZZONI PAOLO
Institution: IST. DI TECNOLOGIE BIOMEDICHE AVANZATE - CNR (MILANO)
City: MILANO
Classification: 1.1 NEUROMUSC. - EDMD - GE
Grant: 1991 I
TimeExt: 1
Renewals: 1
Amount: 50

Title: ROLE OF SPECTRIN ISOFORMS IN THE CENTRAL NERVOUS SYSTEM OF NORMAL AND DYSTROPHIC mdx MICE
Investigator: PETRUCCI TAMARA
Institution: LAB. DI BIOLOGIA CELLULARE - IST. SUPERIORE DI SANITA' (ROMA)
City: ROMA
Classification: 1.1 NEUROMUSC. - DMD - CB - AN
Grant: 1991 I
TimeExt: 1
Renewals: 1
Amount: 45
-----------------------------------------------------------

This is its .fde file:

-----------------------------------------------------------
title:          Titolo_Progetto
investigator:   Cognome_Nome
institution:    Dipartimento
city:           Citta
classification: Categoria
grant:          Bando
timeext:        Durata
renewals:       Rinnovi
amount:         Importo
-----------------------------------------------------------

And this is its .fmt file :

-----------------------------------------------------------
record-sep: /^\n/

layout:
headline: /^Investigator: / /^Institution:/ 30 /^Investigator: */
headline: /^Title: / /^Investigator:/ 100 /^Title: */
end:

region: /^Title: / /^Title: */
title "Titolo_Progetto" TEXT LOCAL
end: /^Investigator:/

region: /^Investigator: / /^Investigator: */
investigator "Cognome_Nome" TEXT LOCAL
end: /^Institution:/

region: /^Institution: / /^Institution: */
institution "Dipartimento" TEXT LOCAL
end: /^City:/

region: /^City: / /^City: */
city "Citta" TEXT LOCAL
end: /^Classification:/

region: /^Classification: / /^Classification: */
classification "Categoria" TEXT LOCAL
end: /^Grant:/

region: /^Grant: / /^Grant: */
grant "Bando" TEXT LOCAL
end: /^TimeExt:/

region: /^TimeExt: / /^TimeExt: */
timeext "Durata" numeric: /^[^0-9]*/ 2 TEXT LOCAL
end: /^Renewals:/

region: /^Renewals: / /^Renewals: */
renewals "Rinnovi" numeric: /^[^0-9]*/ 2 TEXT LOCAL
end: /^Amount:/ 

region: /^Amount: / /^Amount: */
amount "Importo" numeric: /^[^0-9]*/ 4 TEXT LOCAL
end: /$/


Example #5

This is the ASCII source file:

-----------------------------------------------------------
CT: 580
CN: AJMAR
NO: FRANCO
DP: ISTITUTO DI BIOLOGIA E GENETICA - UNIVERSITA' DI GENOVA
IN: V.LE BENEDETTO XV, 6
CP: 16132
CI: GENOVA
TL: 010/3538960
FX: 010/3538978

CT: E.246
CN: ALBANESE
NO: ALBERTO
DP: DIP.TO DI NEUROLOGIA, UNIVERSITA' CATTOLICA
IN: LARGO A. GEMELLI, 8
CP: 00168
CI: ROMA
TL: 06/30154459
FX: 06/35501909

CT: E.113
CN: ALBANESE
NO: ALBERTO
DP: ISTITUTO DI NEUROLOGIA - UNIVERSITA' CATTOLICA DEL SACRO CUORE
IN: LARGO F. VITO, 1
CP: 00168
CI: ROMA
TL: 06/30154435
FX: 06/3051343
-----------------------------------------------------------

This is its .fde file:

-----------------------------------------------------------
cn: Cognome
no: Nome
dp: Dipartimento
ci: Citta'
-----------------------------------------------------------

And this is its .fmt file :

-----------------------------------------------------------
record-sep: /^\n/

layout:
headline: /^CN: / /^[A-Z][A-Z]:/ 30 /^CN: */
headline: /^NO: / /^[A-Z][A-Z]:/ 30 /^NO: */
end:

region: /^CN: / /^CN: */
cn "Cognome" TEXT LOCAL
end: /^[A-Z][A-Z]:/

region: /^NO: / /^NO: */
no "Nome" TEXT LOCAL
end: /^[A-Z][A-Z]:/

region: /^DP: / /^DP: */
dp "Dipartimento" TEXT LOCAL
end: /^[A-Z][A-Z]:/

region: /^CI: / /^CI: */
ci "Citta'" TEXT LOCAL
end: /^[A-Z][A-Z]:/


Example #6

This is the ASCII source file:

-----------------------------------------------------------
Service: PORTINERIA - UFFICIO POSTA
Responsible: VALENTINI Filippo
Department: CENTRO INTERDIPARTIMENTALE SERVIZI (CIS)
Location: Terra
Voice: +39 (49) - 827-6006
Fax: +39 (49) - 827-6009 
EMail: 
Address: VIALE COLOMBO 75
ZIP: 35121
City: PADOVA
State: ITALIA

Service: UFFICIO TECNICO
Responsible: TERMO Biagio Pantaleo
Department: CENTRO INTERDIPARTIMENTALE SERVIZI (CIS)
Location: Terra
Voice: +39 (49) - 827-6004
Fax: +39 (49) - 827-6009 
EMail: btermo@civ.bio.unipd.it 
Address: VIALE COLOMBO 3
ZIP: 35121
City: PADOVA
State: ITALIA

Service: BIBLIOTECA BIOMEDICA VALLISNERI
Responsible: TEMPESTOSO Francesco
Department: CENTRO INTERDIPARTIMENTALE SERVIZI (CIS)
Location: Terra
Voice: +39 (49) - 827-6021
Fax: +39 (49) - 827-6009 
EMail: biblio1@civ.bio.unipd.it 
Address: VIALE COLOMBO 3
ZIP: 35121
City: PADOVA
State: ITALIA
-----------------------------------------------------------
This is its .fde file:

-----------------------------------------------------------
service:     Servizio
responsible: Responsabile
department:  Dipartimento
-----------------------------------------------------------

And this is its .fmt file :

-----------------------------------------------------------
record-sep: /^\n/

layout:
headline: /^Service: / /^Responsible:/ 35 /^Service: */
end:

region: /^Service: / /^Service: */
service "Servizio" TEXT LOCAL
end: /^Responsible:/

region: /^Responsible: / /^Responsible: */
responsible "Responsabile" TEXT LOCAL
end: /^Department:/

region: /^Department: / /^Department: */
department "Dipartimento" TEXT LOCAL
end: /^Location:/



THIS PAGE REFERENCES:
© 1996-97 BioPD - University of Padova - Author: Leopoldo Saggin
Mail to: lsaggin@civ.bio.unipd.it - Last Revision: August 21, 1997
Tested on Netscape 1.22 and higher