Article View: bionet.software
Article #2274Re: GCG: distances changing gap weights
From: Neal Dalton
Date: Mon, 29 Aug 1994 16:31
Date: Mon, 29 Aug 1994 16:31
36 lines
2531 bytes
2531 bytes
David Mathog (mathog@seqvax.caltech.edu) wrote: : 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? We want gaps to have a 0.5 value. : >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. I added a "." column to the table and it didn't change the values. : >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? I did that and it just delete one line and didn't make a difference. : 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. Interesting. I could give it a try. Neal
Technical Details
Message-ID:
<CvB1zI.C1q@news.cis.umn.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!zip.eecs.umich.edu!umn.edu!insitu.med.umn.edu!nrdReferences:
<kyhwa-240894164723@128.220.56.234> <Cv5rJ5.Hqt@news.cis.umn.edu> <27AUG199409304983@seqvax.caltech.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-29 09:45:16 PST Newsgroups: bionet.software,bionet.software.gcg Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!zip.eecs.umich.edu!umn.edu!insitu.med.umn.edu!nrd From: nrd@insitu.med.umn.edu (Neal Dalton) Subject: Re: GCG: distances changing gap weights Message-ID: <CvB1zI.C1q@news.cis.umn.edu> Followup-To: bionet.software,bionet.software.gcg Sender: news@news.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: insitu.med.umn.edu Organization: University of Minnesota, Twin Cities X-Newsreader: TIN [version 1.2 PL2] References: <kyhwa-240894164723@128.220.56.234> <Cv5rJ5.Hqt@news.cis.umn.edu> <27AUG199409304983@seqvax.caltech.edu> Distribution: usa Date: Mon, 29 Aug 1994 16:31:19 GMT Lines: 36