Perl script to convert Multi-line Fasta to Single-line Fasta !
...gs; sub multi_to_single_line_fasta { my ($input_filename, $output_filename) = @_; open my $input_file, '', $output_filename or die "Error: Could not open file '$output...97 days ago
Perl script to find overlaps between two bed files !
#!/usr/bin/perl use strict; use warnings; # Check if the correct number of arguments are provided if (@ARGV != 2) { die "Usage: $0 file1.bed file2.bed\n"; } # Read the contents of the two BED files my $file1 = shift @ARGV; my $file2 = shift @ARGV; open my $fh1, '96 days ago
Python script to finds extact similar sequence between two multi fasta files !
...word_size=16, perc_identity=100) # Run BLAST stdout, stderr = blastn_cline() # Check for errors if stderr: print("Error running BLAST:") pri...5 days ago