Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mama12
  • Content: Threads
  • Order by date
  1. mama12

    mutate DNA probleem

    Hi all, I want to mutate my DNA $DNA between 174 and 249, and save it in file, the user will give the name of the file. I have probleem in the mutation of DNA ######################################################## #!/usr/bin/perl use strict; use warnings; print "file name: "; $file =...
  2. mama12

    problem with my subroutine

    Hallo, I have problem in my subroutine, I want to DNA mutate my DNA at position 3 and 9. can some one here tel me how can I do it. best regards #!/usr/bin/perl use strict; use warnings; my $DNA = 'ATGCATGCAT'; my $mutated_DNA = mutate_DNA($DNA); print "$DNA imutates to $mutated_DNA\n"...
  3. mama12

    printing problem

    Hallo, I have a printing error, I can not print 2500 random DNA (A C T G). can some one here fix my problem best regards -------------------------------------------------- #!/usr/bin/perl -w # 2500 random bases print "ask for file name: "; $filename = <STDIN>; open BN, ">$filename"...
  4. mama12

    print in file

    Hi all, I want to print all even numbers between -100 and 100,exclusef number -12 and 98. my problem here is I can not print it in file. best regards, #!/usr/bin/perl -w print "give a file name: "; $fname = <STDIN>; open FH, ">$fname" or die "Cant open File $!"; # with a for loop $i =...
  5. mama12

    printing problem

    HI, I want to delete or I dot not want to print number 0 and 100. what I have to get is all numbers between -100 and 100,exclusive number 0 and 100. what I did is like that $x = 0,100; $y = $count -$x; regards ---------------------------------- #!/usr/bin/perl -w print "give a file name...
  6. mama12

    Using a Filehandle

    HI, I want to save all number between -100 and 100 in file,but I get error in line 11 line 11 open IN,"text" or die "Can't open input file: $!\n"; regards #!/usr/bin/perl -w # with a for loop for ( my $count= -100; $count<=100; $count++ ) { print $count++,"\n"; } print "give a...
  7. mama12

    reading file in Perl (input)

    Hallo all, Can anybody here tell me what I the problem of what I am messing to read in put file I appreciate any help regards use strict; use warnings; use BeginPerlBioinfo; # sub get_file_data+for extract_sequence_from_fasta_data in 1 # Initialize variables my @file_data = ( ); my...
  8. mama12

    I have a problem in my perl script

    Hallo all, I have a problem in my script can anybody here solve my problem. or tell me something about it. I appreciate any help regards #!/usr/bin/perl # Translate a DNA sequence in all six reading frames use strict; use warnings; # Initialize variables my @file_data = ( ); my $dna = ''...
  9. mama12

    Read file in array

    Hi all, what is the beste script in Perl to read a file (DNA Sequence)in array and mutate this file between 7% and 10 %

Part and Inventory Search

Back
Top