Project

General

Profile

Output of dogpicker

Added by Reza Khayat almost 9 years ago

Hi,

I'm running a local version of dogpicker (non web-based) and would like to direct the output to a file. The usual commands (tee or >) do not work. Is there another way of doing this? Thanks.

Best wishes,
Reza


Replies (3)

RE: Output of dogpicker - Added by Anchi Cheng almost 9 years ago

Are you talking about the non-database version that you download from nramm website ?

http://emg.nysbc.org/projects/software/wiki/DoGpicker

If not, try that.

Examine testDogPicker.sh or run

python ./ApDogPicker.py

to get the list of the parameters. One of them is
--outfile

RE: Output of dogpicker - Added by Reza Khayat almost 9 years ago

Thanks Anchi, but --outfile writes the coordinates for the picked particles. I would like the following output saved to a text file:

 ... Time stamp: 15dec18n59
 ... Function name: ApDogPicker
 ... Appion directory: /programs/x86_64-linux/dogpicker/0.2.1
!!! WARNING: Not committing data to database
 ... Writing function log to: ApDogPicker.log
diameter list= [ 125.78399658  203.522995  ]
 ...     varying threshold: 0.25 gives  281 peaks (9.38% coverage )
 ...     varying threshold: 0.28 gives  261 peaks (8.22% coverage )
 ... *** selected threshold: 0.30 gives  244 peaks (7.58% coverage ) ***
 ...     varying threshold: 0.32 gives  224 peaks (7.05% coverage )
 ...     varying threshold: 0.35 gives  203 peaks (6.35% coverage )
 ... Found 244 peaks (7.58% coverage)
 ... overlap distance cutoff: 21.3 pixels
 ... kept 244 non-overlapping peaks of 244 total peaks
 ... writing summary JPEG: 15nov05e_a_00031gr_00007sq_v01_00005hl_v01_00002en_bin4-map01.jpg
 ... writing peak JPEG: 15nov05e_a_00031gr_00007sq_v01_00005hl_v01_00002en_bin4-picks01.jpg
 ...     varying threshold: 0.25 gives  101 peaks (11.62% coverage )
 ...     varying threshold: 0.28 gives  112 peaks (10.02% coverage )
 ... *** selected threshold: 0.30 gives  118 peaks (9.07% coverage ) ***
 ...     varying threshold: 0.32 gives  105 peaks (8.22% coverage )
 ...     varying threshold: 0.35 gives  103 peaks (7.14% coverage )
 ... Found 118 peaks (9.07% coverage)
 ... overlap distance cutoff: 21.3 pixels
 ... kept 118 non-overlapping peaks of 118 total peaks
 ... writing summary JPEG: 15nov05e_a_00031gr_00007sq_v01_00005hl_v01_00002en_bin4-map02.jpg
 ... writing peak JPEG: 15nov05e_a_00031gr_00007sq_v01_00005hl_v01_00002en_bin4-picks02.jpg
 ... Merging individual picked peaks into one set
 ... overlap distance cutoff: 21.3 pixels
 ... kept 235 non-overlapping peaks of 339 total peaks
 ... Filtered 0 particles above max threshold 3.00
 ... writing summary JPEG: 15nov05e_a_00031gr_00007sq_v01_00005hl_v01_00002en_bin4-finalmap.jpg
 ... writing peak JPEG: 15nov05e_a_00031gr_00007sq_v01_00005hl_v01_00002en_bin4-finalpicks.jpg

particle pixel sizes= [ 11.15108337  18.04283191]
BLOB summary: 244 total / 9 toobig / 0 toosmall / 2 toooblong
BLOB summary: 118 total / 39 toobig / 0 toosmall / 3 toooblong

RE: Output of dogpicker - Added by Anchi Cheng almost 9 years ago

Thanks to Sargis, here is the answer:

Instead of ">" use ">&". It will redirect both standard output and standard error to the file path that follows.

    (1-3/3)