Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
SequenceLogo is a tool for drawing sequence logos of motifs. It gets Positional Count Matrices(PCMs) at input and generates png-logos for motif. Also one can create logo for reverse complement or even generate logos for a whole collection of motifs. Sequence logos are a graphical representation of an amino acid or nucleic acid multiple sequence alignment developed by Tom Schneider and Mike Stephens. Each logo consists of stacks of symbols, one stack for each position in the sequence. The overall height of the stack indicates the sequence conservation at that position, while the height of symbols within the stack indicates the relative frequency of each amino or nucleic acid at that position. In general, a sequence logo provides a richer and more precise description of, for example, a binding site, than would a consensus sequence (see http://weblogo.berkeley.edu/)
Add this line to your application's Gemfile:
gem 'sequence_logo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sequence_logo
SequenceLogo consists of two tools:
sequence_logo [options] <input files>...
input_file can be either in PCM format (file extension should be .pat or .pcm), or in FASTA format (file extensions: .mfa, .fasta, .plain), or in SMall BiSMark format (.xml), or in IUPAC format (any other extension). In future releases formats except PCM and PPM will be removed in preference of Unix-like modular style.
Optional parameters:
* --x-unit SIZE - width of a single letter
* --y-unit SIZE - base height of a letter
* --words-count WEIGHT - float number that represents alignment weight. If words count not defined - it'd be obtained from input if input file is a PCM. If input file is a PPM words_count can't be obtained. In such a case discrete logo can't be drawn, and weblogo will be drawn instead.
* --icd-mode <weblogo|discrete> - information content mode
* --orientation <direct|revcomp|both> - create logo for a direct, reverse-complement or both orientations of motif
* --scheme FOLDER - name of folder containing nucleotide images
* --threshold-lines - draw lines on specific levels
* --output-file - Specify filename for resulting image
Tool glue_logos generates a single image of aligned motifs.
glue_logos <output file> <file with alignment infos>
or
<alignment infos> | glue_logos <output file>
Input data comes either from file with alignments or from stdin. glue_logos is designated to work fine with macroape align_motifs tool and has input format the same as output format of align_motifs tool:
pcm_file_1 shift_1 orientation_1 [motif_name_1]
pcm_file_2 shift_2 orientation_2 [motif_name_2]
pcm_file_3 shift_3 orientation_3 [motif_name_3]
So it's simple to run
align_motifs --pcm leader.pcm other_motifs_1.pcm other_motifs_2.pcm | glue_logos cluster.png
Don't forget to specify PCM files instead of PWM files and use --pcm
key in align_motifs.
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)Copyright (c) 2011-2012 Ivan Kulakovskiy(author), Ilya Vorontsov(refactoring and gemification)
FAQs
Unknown package
We found that sequence_logo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.