Postagens

Tirar seqs redundantes

  https://bioinf.shenwei.me/seqkit/ conda install -c bioconda seqkit seqkit rmdup -s < in .fa > out.fa

Para instalar o StructRNAfinder

DOWNLOAD  and collaborate on StructRNAfinder development by accessing in our  GitHub account . All information to install and run it can be accessed there. Installing the stand-alone version:   (Only for linux) To see more details related to the installation process please see the INSTALL file. To install structRNAfinder and its requirements, type in a terminal located in structRNAfinder folder: sudo sh install.sh And follow the provided instructions. Pre-Requisites: StructRNAfinder uses third-part softwares and in-house Perl scripts in order to perform all its workflow. All them are automatically installed and configured when installing the tool. Bellow a list of softwares necessary to use it. Perl Linux perl library libgd-perl ( apt-get install libgd-perl ) Perl package  Bio::Graphics ( cpan install Bio::Graphics ) Infernal RNAfold  from  Vienna package Rfam  covariance models ( Version 12 ) As vezes tem que instalar o Bio::Graphics de novo depois, b...

tbl2asn

 tbl2asn -t ../template_CPs.sbt -i Uf_v2.fasta -j "[organism=Utricularia ] [voucher=xxxx]" -f U_nw. tbl  -V vb

separando genoma em arquivos menores (5000 sequências em cada arquivo), no exemplo.

 awk 'BEGIN {n_seq=0;} /^>/ {if(n_seq%5000==0){file=sprintf("myseq%d.fa",n_seq);} print >> file; n_seq++; next;} { print >> file; }' < Athaliana_447_Araport11.protein_primaryTranscriptOnly_renamed.fa

Média da primeira coluna usando awk

 awk '{ total += $1 } END { print total/NR }'

introntab - contar tamanho dos introns

 ./introntab.pl --format gtf < xxxx-braker.gtf | column -t -s$'\t' | less -S Com o output usar colunas para contar

Retirar SVG de página da web - exemplo Google Chart

Entrar pelo google ferramentas do desenvolvedor  When the SVG is integrated as   <svg ...></svg>   markup directly into the HTML page. Right click on the SVG to inspect it in developer tools Find the root of the  <svg>  element and right click to  "Copy element" Go to  https://jakearchibald.github.io/svgomg/  and  "Paste markup" Download your optimized SVG file and enjoy