rvaser / sword Goto Github PK
View Code? Open in Web Editor NEWSWORD - a highly efficient protein database search
License: GNU General Public License v3.0
SWORD - a highly efficient protein database search
License: GNU General Public License v3.0
Good morning, Robert.
I was wondering if there is a way to run SWORD on input fasta database target files that are compressed (*.fa.gz). I've tried process substitution to read the fa.gz database file using zcat, and it returns "No alignments found." Otherwise, running SWORD on the decompressed database file works. Is there a way to avoid the need to decompress *.fa.gz target files?
Thanks.
Any thoughts on this?
Hi Robert!
I find that when trying to run a command like:
sword -i ./Step5_align_contigs_to_database/TempFiles/Translated_step4_AbundanceFiltered_Trinity.09.fasta -t 12 -o ./Step5_align_contigs_to_database/TempFiles/Translated_step4_AbundanceFiltered_Trinity.09.result.tsv -f bm9 -j /mibi/Jon/CoMW/databases/NCyc_100.faa -c 30000
I get "Illegal instruction" as output. I got the syntax above from the script and even if I shave arguments down to just -i -o -j it gives the same error message. I have checked the -i file and they seem to be in the correct fasta-format. I have also checked lengths of sequences. The longest is just above 2200 bytes, so no problem there (checked because you recorded an issue with lengths of sequences above 65k).
Can you help with this?
Kr,
Jon
I tested a larger database
cat eggnog4.proteins.all.faa | grep ">" | wc -c
307985246
sword -i test_seq.fa -j eggnog4.proteins.all.faa -v 0.0000001 -t 8 -a 5 -c 307995246
[database][search-werk]: 29.99180 s
[database][search]: 78.24764 s
Using: lambda = 0.243, K = 0.024, H = 0.100
Segmentation fault
Any thoughts?
Hi!
I have a quite large database I am working on ~64GB with approximately 140 million protein sequences. When I try to run sword using this database I get a "segmentation fault (core dumped)" error. I can run a small test using a 10 sequence-database and a couple of sequences, which is successful as well as using a moderately large database (~264Mb and ~500000 sequences). For the larger database I am using 90GB RAM but I am still getting the same error. What would be the amount of RAM required depending on the database/threads used?
The command I used is: sword -i Test_Query.faa -j Large_DB.faa -o Test.sword -f bm8 -v 1.0 -a 1 -k 5 -c 15000 -T 0 -t 5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.