Skip to content

basic visualization of hmm profile matches to multiple fasta files

Notifications You must be signed in to change notification settings

hzi-bifo/hmmvis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just a simple tool to check if some HMM profiles are present in a bunch of fasta files. You can put input fasta files into subfolders to visualize groups in the heatmap.

usuage

usage: hmmvis [-h] [--hmm HMM] [--fasta_dir FASTA] [--output_dir OUT]
              [--use_query] [--colorful] [--normalize] [--keep_order]
              [--version]

optional arguments:
  -h, --help         show this help message and exit
  --hmm HMM          path to hmm file
  --fasta_dir FASTA  path to folder where .fasta files are located (fasta
                     files can be grouped within subfolder)
  --output_dir OUT   path to output folder
  --use_query        use query id insead of accession
  --colorful         use colors for heatmap
  --normalize        normalize cluster map
  --keep_order       do not cluster rows if groups are present
  --version          show program's version number and exit

output

automatic grouping of input fasta files

hmmvis/hmmvis --hmm example/example.hmm --fasta_dir example/faa_grouped --use_query --colorful

alt text

without grouping

hmmvis/hmmvis --hmm example/example.hmm --fasta_dir example/faa --use_query --colorful

alt text

alt text

installation

git clone https://github.com/philippmuench/hmmvis.git
cd hmmvis
python setup.py install

you also need dependencies:

  • prodigal
  • hmmer

licence

GNU General Public License, version 3 (GPL-3.0)

cite

this script is part of the PlasmidMiner toolkit. If you use this script please cite:

Muench et al., A method for the in silico detection of plasmid fragments in environmental samples

About

basic visualization of hmm profile matches to multiple fasta files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%