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 Mike Lewis 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: *

  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

    thanXXXX eewah, thank u for ur help
  4. 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"...
  5. mama12

    print in file

    thanX allllllllL for ur help regards
  6. 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 =...
  7. 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...
  8. mama12

    Using a Filehandle

    Thanks you Paul ,I get it regards
  9. 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...
  10. 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...
  11. mama12

    I have a problem in my perl script

    HI again, yes I can, the probleem of the input file, read input file, I have to read a DNA file with ATGCGGTC and translate this file to protein. the problem to link the DNA and translate this file+ print it. regards mama12
  12. 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 = ''...
  13. mama12

    Read file in array

    Hi torjan, I did it, the script is working now, i did little changes on it and it is working now,sorry that I did not let u know. Kind Regards mama12
  14. mama12

    Read file in array

    thanx any way for u work Kind Regards mama12
  15. mama12

    Read file in array

    HI again, the script is working thanx for it, I appreciate ur work how can I make a little change in this script the out put of this file will be saving ( the mutate 7% and 10%) in 1 file not in 2 files ,the name of the file is giving bij user. regards mama12
  16. mama12

    Read file in array

    HI Torjan. the script is working thanx for it,but I am searchting voor script that read a file like this #!/usr/bin/perl -w use strict; use warnings; # Get the DNA sequence data print "Please type the filename of the DNA sequence data: "; $dna_filename = <STDIN>; chomp $dna_filename...
  17. mama12

    Read file in array

    HI Torjan. the script is working thanx for it,but I am searchting voor script that read a file like this #!/usr/bin/perl -w use strict; use warnings; # Get the DNA sequence data print "Please type the filename of the DNA sequence data: "; $dna_filename = <STDIN>; chomp $dna_filename; and...
  18. mama12

    Read file in array

    Hi again thanks for ur help I appreciate ur work Trojan regards
  19. mama12

    Read file in array

    thanx for ur reply, first read the file in array and from this array mutate 7% and 10 %. yes ,I want 7% and 10% of the characters to be swapped for another random character of the set "ACTG" but not the same as 7% and 10% is has te be another character. like this If it C it has to be A or T...
  20. mama12

    Read file in array

    Hi again DNA File like AAAACCCCTTTTGGGG AAAACCCCTTTTGGGG mutate 7% and 10 % in this file If it C it has to be A or T or G If it is T it has to be A or C or G uitput can be like that AAAACCtCTaTTGGGG I appreciate any help regards

Part and Inventory Search

Back
Top