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

Crash due to dependency on qvality in v0.1.0 #1

Closed
MatthewThe opened this issue Jun 20, 2018 · 2 comments
Closed

Crash due to dependency on qvality in v0.1.0 #1

MatthewThe opened this issue Jun 20, 2018 · 2 comments

Comments

@MatthewThe
Copy link
Contributor

Triqler 0.1.0 has a dependency on an external program (qvality), this causes execution to fail if this program is not present:

$ python -m triqler --fold_change_eval 0.8 iPRG2016.tsv
The process cannot access the file because it is being used by another
process.
Traceback (most recent call last):
  File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\lib\site-packages\triqler\__main__.py", line 8, in
<module>
    main()
  File "C:\Python27\lib\site-packages\triqler\triqler.py", line 28, in main
    runTriqler(params, args.in_file, args.out_file)
  File "C:\Python27\lib\site-packages\triqler\triqler.py", line 79, in
runTriqle                                                                r
    peptQuantRows = convertTriqlerInputToPeptQuantRows(triqlerInputFile,
peptQua                                                               
ntRowFile, params)
  File "C:\Python27\lib\site-packages\triqler\triqler.py", line 89, in
convertTr                                                               
iqlerInputToPeptQuantRows
    peptQuantRowMap, getPEPFromScore, params['fileList'],
params['groupLabels'],                                                                
params['groups'] = getPeptQuantRowMap(triqlerInputFile,
params['decoyPattern'])
  File "C:\Python27\lib\site-packages\triqler\triqler.py", line 124, in
getPeptQ                                                               
uantRowMap
    _, peps = qvality.getQvaluesFromScores(targetScores, decoyScores,
includePEP                                                               
s = True, includeDecoys = True, tdcInput = True)
  File "C:\Python27\lib\site-packages\triqler\qvality.py", line 245, in
getQvalu                                                               
esFromScores
    qvals, peps = parseQvalues(qvalFile, includePEPs = includePEPs)
  File "C:\Python27\lib\site-packages\triqler\qvality.py", line 271, in
parseQva                                                                lues
    next(reader)
StopIteration

There is already code available to get rid of this dependency, but this was not used yet.

@percolator
Copy link
Contributor

percolator commented Jun 20, 2018 via email

@jjGG
Copy link

jjGG commented Jun 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants