Perl script to extract the uniq Ids
#!/usr/bin/perl -w use strict; use warnings; use List::Uniq ':all'; open(my $val, "2231 days ago
Perl script to find coding regions in DNA sequences
...r each line in the file (tableofcodons) do while ($line = ) { # extract the two values or columns wit...protein sequences and low values (zero or even negative) for intronic regions. exon.fa >HUMHBB.2e...2147 days ago
Perl script to convert GFF 2 FASTA !
#!/usr/bin/perl use strict; use warnings; use Bio::Seq; use Bio::SeqIO; use Bio::...gene sequence (including UTRs and introns) # upstream3000 - the 3000 upstream region of the gene (likely including...2131 days ago
2118 days ago
Bash oneliner to extract all ids from a multifasta file
#List of ids - one per line in allIds.txt $ awk 'BEGIN{while((getline0)l[">"$1]=1}/^>/{f=!l[$1]}f' seq.fa # You can play with this f=!l[$1 ] if wanted to extract or not extract the ids1530 days ago
1508 days ago
Install Python locally on shared Linux server !
#Install python to local directory #Firstly, I create a folder in my home directory, download the python source and extrac...2090 days ago
Perl script to extract sequence by Ids from multifasta file !
#!/usr/bin/perl -w use strict; my $idsfile = "$ARGV[0]"; my $seqfile = "$ARGV[1]"; my %ids = (); open FILE, $idsfile; while() { chomp; $ids{$_} += 1;...2088 days ago
2067 days ago
2067 days ago