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 =...
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"...
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"...
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 =...
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...
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...
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...
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
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 = ''...
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
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...
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.