Comments (2)
With the original lastz, you can input your target as a multi-fasta, however it strongly recommended that you do not provide a multi-fasta as a query.
I'm the guy who wrote lastz, and what I'm about to write only applies to lastz.
I think that (i.e. the notion that you should not provide a multi-fasta as a query) is a misconception resulting from what in retrospect was a poor human-interface design choice I made. Leaving the [multiple] designation off the query file is recommended, regardless of whether the query file has one or more sequences. So if target and query both have more than one sequence, this is the recommended command:
lastz target.fa[multiple] query.fa
The [multiple] designation tells lastz to collect all the sequences from that file into one long sequence in memory. It is necessary that lastz have all the target sequences in memory, but for the query it only needs them in memory one at a time.
It would have made more sense for lastz to figure out whether the file contained more than one sequence and do what it needed to do without the user having to tell it. Unfortunately I decided there was a cost in doing that. In retrospect that cost is extremely minimal โ it was a bad choice on my part, and it has led to confusion.
from segalign.
Thank you @niederhuth, we are glad that the tool is so helpful for your research.
I am slightly confused by what you mean by would you advice breaking the query fasta down by each sequence in the fasta file
.
If I understand your question correctly, the following should help:
For SegAlign, we recommend that you do provide multiple chromosomes for both, the target and the query. There are internal optimizations that overlap the different alignment stages for different chromosome-pairs which helps in maximum resource utilization and provides higher speedup. ( If you are interested in knowing more about these optimizations, you can have a look at our paper - https://doi.ieeecomputersociety.org/10.1109/SC41405.2020.00043 ).
About the run_segalign.sh
script -- it essentially handles the seed-filter and extend stages, where the seed-filter stages are run using the segalign
executable (GPU accelerated), the output segment
files are generated, and then, the extend stage is run using lastz
. In order to get the alignments and not just the segment files, you always need to use run_segalign.sh
and not just the segalign
executable.
from segalign.
Related Issues (20)
- couldn't find boost HOT 7
- "grep: *.err" and "m: cannot remove '*.segments'" errors HOT 2
- FAILURE: extra segments in file HOT 4
- SegAlign/progressivecactus errors on LSF HOT 1
- run_segalign_repeat_masker file HOT 2
- cudaErrorIllegalAddress: an illegal memory access was encountered HOT 1
- stdbuf: failed to run command โsegalignโ: No such file or directory HOT 2
- error during cmake HOT 1
- segalign_repeat_masker crashes HOT 3
- segaling_repeat_masker still crashes HOT 7
- segalign crashes while aligning final against final reference block HOT 1
- run_segalign crashes on human-chimp (and exits 0!) HOT 2
- SegAlign crashes while running cactus on Terra HOT 3
- thrust::system::system_error | CUDA free failed: cudaErrorCudartUnloading
- Error: cudaMalloc of 256 bytes for sub_mat failed with error " the provided PTX was compiled with an unsupported toolchain. " HOT 1
- /usr/local/bin/run_segalign: line 60: segalign: command not found HOT 1
- AMD GPU support
- Output file size not correct HOT 1
- Support for linux-ppc64le?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from segalign.