Perl script to check modules installed !
#use strict; use warnings; use ExtUtils::Installed; # # First, check if all the requ...Tiny', 'Data::Dumper', 'File::Basename', 'Bio::S...istics::R', 'Math::Round', 'File::Find', 'Bio::DB::...1156 days ago
812 days ago
Perl script to find inverted repeats !
#!/usr/bin/perl use strict; use warnings; use Bio::SeqIO; use Bio::Tools::Run::RepeatMasker; my $genome_file = "...me.fasta"; # read genome sequence my $seqio = Bio::S...= $seqobj->seq(); # run RepeatMasker my $rm = Bio::Tool...426 days ago
95 days ago
Perl and BioPerl script to extract protein sequences using GFF file !
#!/usr/bin/perl use strict; use warnings; use Bio::DB::Fasta; use Bio::SeqIO; # Paths to your GFF file and genome FASTA file my $gff_file = 'path/to/your/file.gff'; my $genome_fast...95 days ago
Perl script for six frame translation !
#!/usr/bin/perl use strict; use warnings; use Bio::SeqIO; # Path to your input nucleotide sequence f...'path/to/your/input.fasta'; # Step 1: Read the input FASTA file my $seqio = Bio::SeqI...95 days ago
Python script for six frame translation of sequences !
from Bio import SeqIO from Bio.Seq import Seq def translate_frame(sequence, frame): if frame > 0: translated_seq = sequence[frame-1:].translate()...95 days ago
Perl script to calculate the basic stats of the assembled genome !
#!/usr/bin/perl use strict; use warnings; use Bio::SeqIO; # Input file containing the genome assembly in FASTA format my $input_file = 'genome_assembly.fasta'; # Create Bio::SeqI...95 days ago
Python script for basic stats of the assembled genome !
from Bio import SeqIO import statistics # Input file containing the genome assembly in FASTA format input_file = 'genome_assembly.fasta' # Variables for computin...95 days ago
Python script to finds extact similar sequence between two multi fasta files !
from Bio.Blast.Applications import NcbiblastnCommandline import os import sys def perform_local_blast(query_file, subject_file, output_file): # Set up the BLAS...4 days ago