Hi I have a multi-step project I am working on and have been finding it difficult to come up with the correct approach.
The data I have been given resembles:
My goal here is to compare a large file such as this one to a set of references that are a single letter (T,A,C,G). I need to split the genotype in the given file into two individual letters and then compare this to the reference. If either matches the reference, then the program should move on to the next reference. If, however, neither letter is consistant, then the program should give an output of the index number and mutation type that corresponds to that data.
I am still fairly new to this so all help would be greatly appreciated.
Thanks!
Hello all
im facing some kind of problem i have this string :
functionA() $" "$ functionB("arg1") $" = "$
i will like to replace all the pairs of opening and closing "$" to be something like that
functionA() <#" "#> functionB("arg1") <#" = "#>
i cant of course do is with simple ... (1 Reply)
Hi.
I have three arrays.
@a=('AB','CD','EF');
@b=('AB,'DG',HK');
@c=('DD','TT','MM');
I want to compare the elements of the first two array and if they match then so some substition.
I tried using the if statement using the scalar value of the array but its not giving me any output.
... (7 Replies)
Hi all,
I am trying to compare two arrays in perl using the following code.
foreach $item (@arrayA){
push(@arrayC, $item) unless grep(/$item/, @arrayB); ... (1 Reply)
I have a main file with variable tokens like this:
name: File1
===========
Destination/Company=@deploy.company@
Destination/Environment=@deploy.env@
Destination/Location=@deploy.location@
Destination/Domain=@deploy.location@
MIG_GatewayAddresses=@deploy.gwaddress@
MIG_URL=@deploy.mig_url@... (1 Reply)
Hi there, i have been trying different methods and i wonder if somebody could explain to me how i would perform a comparison on two arrays for example
my @array1 = ("gary" ,"peter", "paul");
my @array2 = ("gary" ,"peter", "joe");
I have two arrays above, and i want to something like this... (5 Replies)
Hi,
I'm new to perl and i have to write a perl script that will compare to log/txt files and display the differences. Unfortunately I'm not allowed to use any complied binaries or applications like diff or comm.
So far i've across a code like this:
use strict;
use warnings;
my $list1;... (2 Replies)
What do i need to do have the below perl program load 205 million record files into the hash. It currently works on smaller files, but not working on huge files. Any idea what i need to do to modify to make it work with huge files:
#!/usr/bin/perl
$ot1=$ARGV;
$ot2=$ARGV;
open(mfileot1,... (12 Replies)
I have these two file that I am trying to compare using shell arrays. I need to find out the changed or the missing
enteries from File2. For example. The line "f nsd1" in file2 is different from file1 and the line "g nsd6" is missing
from file2.
I dont want to use "for loop" because my files... (2 Replies)
Hi everyone
I have a question for you, as I am trying to learn more about Perl and work with some weather data. I have an ascii file (shown below) that has 10 lines with different columns. What I would like is have Perl find an "anomalous" value by comparing a field with the values from the last... (2 Replies)
Discussion started by: lucshi09
2 Replies
LEARN ABOUT DEBIAN
pc-compare
PC-COMPARE(1) Probcons Manual PC-COMPARE(1)NAME
pc-compare - Program for scoring alignments according to a reference alignment with respect to sum-of-pairs and column scores.
SYNOPSIS
pc-compare [TEST_ALIGNMENT] [REFERENCE_ALIGNMENT] [BALIBASE_ANNOT_FILE] [-col] [-core] [-caps] [-annot FILENAME]
NOTE
pc-compare is named compare in the original sources, but has been remamed to avoid collision with other program names.
SEE ALSO pc-makegnufile(1), pc-project(1),from the probcons-extra package, and probcons(1) and probcons-RNA(1) from the probcons package.
REFERENCE
Please cite Do, C.B., Mahabhashyam, M.S.P., Brudno, M., and Batzoglou, S. 2005. PROBCONS: Probabilistic Consistency-based Multiple Sequence
Alignment. Genome Research 15: 330-340.
AUTHORS
Chuong Do <chuongdo@cs.stanford.edu>
Wrote probcons in collaboration with Michael Brudno in the research group of Serafim Batzoglou, Department of Computer Science,
Stanford University.
Charles Plessy <charles-debian-nospam@plessy.org>
Wrote this manpage in DocBook XML for the Debian distribution.
COPYRIGHT
This program and its manpage are in the public domain.
pc-compare 1.12 2007-04-04 PC-COMPARE(1)