Create random 10000 SNPs in genome !
(base) ➜ dupStudy git:(master) ✗ perl ../simuG.pl -refseq SGDref.R64-2-1.dups.fa -snp_cou...erating output files .. Generating the correspondance map f...nts introduced during simulation: simuSNP.refseq2simseq.map.txt...1254 days ago
Create random 1000 INDEL in genome !
(base) ➜ dupStudy git:(master) ✗ perl ../simuG.pl -refseq simuSNP.simseq.genome.fa -indel...erating output files .. Generating the correspondance map f...s introduced during simulation: simuINDEL.refseq2simseq.map.txt...1254 days ago
Create random 1000 CNVs in genome !
(base) ➜ dupStudy git:(master) ✗ perl ../simuG.pl -refseq simuINDEL.simseq.genome.fa -cnv...erating output files .. Generating the correspondance map f...nts introduced during simulation: simuCNV.refseq2simseq.map.txt...1254 days ago
Create random 5 inversions in genome !
(base) ➜ dupStudy git:(master) ✗ perl ../simuG.pl -refseq simuCNV.simseq.genome.fa -inver...erating output files .. Generating the correspondance map f...nts introduced during simulation: simuINV.refseq2simseq.map.txt...1254 days ago
Create random 2 translocations in genome !
(base) ➜ dupStudy git:(master) ✗ perl ../simuG.pl -refseq simuINV.simseq.genome.fa -trans...erating output files .. Generating the correspondance map f...s introduced during simulation: simuTRANS.refseq2simseq.map.txt...1253 days ago
962 days ago
Install Php on Ubuntu / Apache server !
#Installing PHP 7.2 with Apache #If you are using Apache as your web server to install PHP and Apache PHP module run the following command: sudo apt install php libapache2-mod-php #Once the packages are installed restart the Apache service: sudo systemctl restart apache2962 days ago
868 days ago
Command line to print disk usage on Linux terminal !
#Print disk usage - perl du -h |perl -e'%h=map{/.\s/;99**(ord$&&7)-$`,$_}`du -h`;die@h{sort%h}' #Bash du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh #Base du -scBM | sort -n #More du -s * | sort -rn | cut -f2- | xargs -d "\n" du -sh857 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"...137 days ago