-
Notifications
You must be signed in to change notification settings - Fork 34
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
run time of app not scaling linearly with input file length #75
Comments
Would you be able to share your input files so I can try and reproduce exactly? |
I put synthetic data here: ftp://ftp.cs.washington.edu/outgoing/fasta_files.zip that seems to behave in the same way. fake.nn.fasta are the file fake_full.fasta split into 20 parts. heres the query file ftp://ftp.cs.washington.edu/outgoing/query.fasta i'm using the invokation above with cutoff = 8 gapextend = 0 (note the above links will probably only work for the next 90 days) |
Thank you very much for the sample inputs. It was very easy to reproduce, but I'm still digging for an answer. When I enabled the verbose output In the meantime, I'm still looking into why the ESA step was so terrible. |
I don't have a great answer for you, but it seems the ESA step is just plain inefficient with your particular inputs and selected cutoff. I seem to have more success with it when aligning sequences from a larger alphabet, e.g., proteins. I will suggest again that in your particular case you don't need this filter at all, so just disable it with |
yeah that's an artifact of the lazy way I made they synthetic data set. my real set doesn't always match. I have permission to share (privately) the real data set if you think it helps. For now I can keep splitting the file into smaller parts or run -x and filter later in my pipeline fairly cheaply. Thanks for taking a look! |
I have my input file and query file. the query file has 4 sequences (~70base) and the input file is a 60mb fasta with reads of length ~100. splitting the input file into 20 3 mb pieces and running the parasail app runs in 11seconds/piece or about three and a half minutes total. Running the full input file takes hours. I'd expect it to take the same amount of time since i'm getting the same number of comparisons at the end.
I'm running on a newish intel server with 256gb ram.
I'm invoking the parasail app from python:
The text was updated successfully, but these errors were encountered: