Article View: bionet.software
Article #2273Re: GCG: distances changing gap weights
From: David Mathog
Date: Sat, 27 Aug 1994 17:30
Date: Sat, 27 Aug 1994 17:30
33 lines
2295 bytes
2295 bytes
In article <Cv5rJ5.Hqt@news.cis.umn.edu>, nrd@insitu.med.umn.edu (Neal Dalton) writes... >We would like to change the weight given to gaps vs nucleotides when >calculating distances using GCG's distance program. Currently, gap Why, and to what? >mismatches are given the same weight as nucleotide mismatches. Well, yes for A vs. G, but no for T vs. Y, for instance. Note that that weight is zero, so there need not be an explicit "." column in the table as GCG specifies that if the symbol isn't in the table, any comparison against it returns zero. > >How can we do this? I tried to add gaps to the dnadistances.cmp table, >but that didn't seem to work. > It should have worked, take a look at the randomdna.cmp file for example. Possibly you need to run it through reformat to clean it up? On the off chance that there is some bug that precludes using a "." column/ row you could edit the .MSF file that you're working on and convert all gaps to some other symbol, for instance, "Y". Then edit a *copy* of the comparison table, changing all of the values in the Y associated columns/ rows to be what you want for A vs. gap, G vs. gap, etc. This assumes that you don't have any "Y" entries in your data. Regards, David Mathog mathog@seqvax.bio.caltech.edu Manager, sequence analysis facility, biology division, Caltech
Technical Details
Message-ID:
<27AUG199409304983@seqvax.caltech.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!news.duke.edu!news-feed-1.peachnet.edu!emory!swrinde!ihnp4.ucsd.edu!news.cerf.net!nntp-server.caltech.edu!seqvax.caltech.edu!mathogReferences:
<kyhwa-240894164723@128.220.56.234> <Cv5rJ5.Hqt@news.cis.umn.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103fe7,9f29a9f641c7cfff X-Google-Attributes: gid103fe7,public X-Google-Thread: fa6b6,dc4ba035805ec58a X-Google-Attributes: gidfa6b6,public X-Google-ArrivalTime: 1994-08-27 09:31:08 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!news.duke.edu!news-feed-1.peachnet.edu!emory!swrinde!ihnp4.ucsd.edu!news.cerf.net!nntp-server.caltech.edu!seqvax.caltech.edu!mathog From: mathog@seqvax.caltech.edu (David Mathog) Newsgroups: bionet.software,bionet.software.gcg Subject: Re: GCG: distances changing gap weights Date: 27 Aug 1994 09:30 PST Organization: Division of Biolgy, CALTECH Lines: 33 Distribution: usa Message-ID: <27AUG199409304983@seqvax.caltech.edu> References: <kyhwa-240894164723@128.220.56.234> <Cv5rJ5.Hqt@news.cis.umn.edu> NNTP-Posting-Host: seqvax.bio.caltech.edu News-Software: VAX/VMS VNEWS 1.41