Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos, link to paper, options description #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# About

`Slope-SpaM` estimates phylogenetic distances between two DNA sequences. More precisely, for a set of input sequuences in FASTA format, it estimates all pairwise Jukes-Cantor distances. That is, for each pair of sequences it estimates the average number of substitutions per sequence positions that have occurred since the sequences have evolved from their last common anchestor. The output of the program is a matrix with these pairwise distances in phylip format.
`Slope-SpaM` estimates phylogenetic distances between two DNA sequences. More precisely, for a set of input sequences in FASTA format, it estimates all pairwise Jukes-Cantor distances. That is, for each pair of sequences it estimates the average number of substitutions per sequence positions that have occurred since the sequences have evolved from their last common ancestor. The output of the program is a matrix with these pairwise distances in phylip format.

To estimate the phylogenetic distance between two DNA sequences, Slope-SpaM calculates the number of word matches for two different word lengths k_min and k_max. Instead of words, so-called spaced-words may be used, i.e. words containing wildcard characters at certain positions specified by the user. To this end, a binary pattern representing "match positions" ('1') and "don't-care positions" ('0') has to be provided as input to the program.

If spaced words are used, two binary patterns with k_min match positions and k_min match positions are used by shortening the input pattern specified by the user (i.e. by using suitable prefixes of this pattern).
If spaced words are used, two binary patterns with k_min match positions and k_max match positions are used by shortening the input pattern specified by the user (i.e. by using suitable prefixes of this pattern).

For more details, check our [paper](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0228070).

For more details, check our [paper](https://www.biorxiv.org/content/10.1101/527515v1).

# Installation

The installation requires `cmake` (>= 3.8.2) and a C++17 compliant C++ compiler. Use the following commands to install `Slope-SpaM`:
Expand Down Expand Up @@ -37,7 +37,8 @@ Option | Description
-o, --output | The output file. Ignored if multiple inputs are given.
-p, --pattern | The binary word pattern used to create wordlists from sequences. May only include '0' and '1' characters.
-k, --kmer-lengths | Comma-separated list of wordlengths to consider when calculating the distance between two sequences.
-a, --as-reads | Comma-separated list of wordlengths to consider when calculating the distance between two sequences.
-t, --threads | Maximum number of threads used.
-a, --as-reads | Use sequences from multi-fasta files as reads of one sequence instead of multiple sequences.
-h, --help | Show help.
input files... | Fasta files or directories of fasta files to process. If more than one input file is given, the option output is ignored. Instead for each .fasta file a .dmat file and for each directory a .dir.dmat file with the same name is created. If --as-reads is not specified, one output matrix is created for each input file. If --as-reads is specified, one output matrix using each input file as a single sequence is created.

Expand All @@ -52,4 +53,3 @@ This is free software: you are free to change and redistribute it. There is NO W
## Contact

In case of bugs or unexpected errors don't hesitate to send me a mail: [email protected]