944 days ago
Installing manadatory software for websites hosting !
#See all the installed apt list --installed apt list #Installing Apache #To install Apache, install the latest meta-package apache2 by running: sudo apt update sudo apt install apach...910 days ago
Installing manadatory software for websites hosting !
#See all the installed apt list --installed apt list #Installing Apache #To install Apache, install the latest meta-package apache2 by running: sudo apt update sudo apt install apach...910 days ago
Extract fasta sequences with ids in another file !
#Ids are in test.txt - one ids per line #sequences are in test.fa grep -w -A 2 -f test.txt test.fa --no-group-separator # seqtk seqtk subseq test.fa test.txt #faSomeRecods faSomeRecords in.fa listFile out.fa # seqkit seqkit grep -n -f list.txt sequences.fas > newfile2.fas883 days ago
779 days ago
293 days ago
Python script for six frame translation of sequences !
...ranslated_seq = reverse_complement[abs(frame)-1:].translate() return translated_seq def six_frame_translation(fasta_file): records = list(SeqIO.parse(fasta_file, "fast...88 days ago
Perl script to parse blast results and plot basic stats !
#!/usr/bin/perl use strict; use warnings; use List::Util qw(sum); # Usage: ./parse_blast.pl blast_result.txt die "Usage: ./parse_blast.pl blast_result.txt\n" unless @ARGV;...88 days ago