-
Notifications
You must be signed in to change notification settings - Fork 0
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
Regarding nthreads, pvalue option, alignment parser #1
Comments
Hi @koriege, I appreciate the enthusiasm for the increased efficiency of Summit! To get back to your suggestions...
|
Thanks for the quick reply.
No, it does not. But one of your libraries, that uses nthreads infers number of cores, which is 128 in my case. Thus setting
I did. I always work with unique alignments. The only flag which was removed from the BAM in some cases, due to region blacklisting, is the "proper_pair" flag, although both mates exist (one reverse, the other mate_reverse flagged). I will re-add the proper_pair flag, try again and report back. Thanks for pointing me into this direction. |
After having extensively tested, it seems that your implementation does not work. The pysam object simply does not have an attribute is_forward. According to the pysam docs: is_forward - true if read is mapped to forward strand (implemented in terms of is_reverse) see this tiny example
here r1 attributes are
So the solution is for line 178 and following
Btw. is_reverse attribute is of type bool, whereas the Plase also consider to add a proper shebang line to your script.
|
Hi,
I really appreciate your re-implementation, since the original version caused up to ~200Gb memory usage in my case. I know, that summit is really new, but I want to report some issues I stumbled across when trying it out. Regards.
summit.py
->Error. nthreads cannot be larger than environment variable "NUMEXPR_MAX_THREADS" (64)
Solution via
OMP_NUM_THREADS
variableOMP_NUM_THREADS=28 summit.py -p 0.05
->summit.py error: argument -p/--pval: invalid int value: '0.05'
Solution: argparse type set to float
OMP_NUM_THREADS=28 summit.py -c <bam> -b <bam> -o <out> -w 100 -m 500 -t 100 -l 50
Do I need to sort the alignments by name?
The text was updated successfully, but these errors were encountered: