Skip to content

Document CLI #912

@multimeric

Description

@multimeric

I note that Relion has a CLI, which a ton of binaries. For example:

relion                             relion_external_reconstruct        relion_motion_refine               relion_preprocess                  relion_stack_create
relion_align_symmetry              relion_find_tiltpairs              relion_motion_refine_mpi           relion_preprocess_mpi              relion_star_datablock_ctfdat
relion_autopick                    relion_flex_analyse                relion_mrc2vtk                     relion_project                     relion_star_datablock_singlefiles
relion_autopick_mpi                relion_flex_analyse_mpi            relion_particle_FCC                relion_qsub.csh                    relion_star_datablock_stack
relion_convert_star                relion_helix_inimodel2d            relion_particle_reposition         relion_reconstruct                 relion_star_handler
relion_convert_to_tiff             relion_helix_toolbox               relion_particle_select             relion_reconstruct_mpi             relion_star_loopheader
relion_convert_to_tiff_mpi         relion_image_handler               relion_particle_subtract           relion_refine                      relion_star_plottable
relion_ctf_mask_test               relion_import                      relion_particle_subtract_mpi       relion_refine_mpi                  relion_star_printtable
relion_ctf_refine                  relion_localsym                    relion_particle_symmetry_expand    relion_reposition                  relion_tiltpair_plot
relion_ctf_refine_mpi              relion_localsym_mpi                relion_pipeliner                   relion_run_ctffind                 relion_tomo_test
relion_ctf_toolbox                 relion_maingui                     relion_plot_delocalisation         relion_run_ctffind_mpi             
relion_demodulate                  relion_manualpick                  relion_postprocess                 relion_run_motioncorr              
relion_display                     relion_mask_create                 relion_postprocess_mpi             relion_run_motioncorr_mpi          
relion_estimate_gain               relion_merge_particles             relion_prepare_subtomo             relion_scheduler                   

Also, each of these binaries has a whole number of options:

+++ RELION: command line arguments (with defaults for optional ones between parantheses) +++
====== General options ===== 
                                --i : Input STAR file, image (.mrc) or movie/stack (.mrcs)
                             --o () : Output name (for STAR-input: insert this string before each image's extension)
====== image-by-constant operations ===== 
            --multiply_constant (1) : Multiply the image(s) pixel values by this constant
              --divide_constant (1) : Divide the image(s) pixel values by this constant
                --add_constant (0.) : Add this constant to the image(s) pixel values
           --subtract_constant (0.) : Subtract this constant from the image(s) pixel values
           --threshold_above (999.) : Set all values higher than this value to this value
          --threshold_below (-999.) : Set all values lower than this value to this value
====== image-by-image operations ===== 
                      --multiply () : Multiply input image(s) by the pixel values in this image
                        --divide () : Divide input image(s) by the pixel values in this image
                           --add () : Add the pixel values in this image to the input image(s) 
                      --subtract () : Subtract the pixel values in this image to the input image(s) 
                           --fsc () : Calculate FSC curve of the input image with this image
                    --power (false) : Calculate power spectrum (|F|^2) of the input image
                  --adjust_power () : Adjust the power spectrum of the input image to be the same as this image 
                --fourier_filter () : Multiply the Fourier transform of the input image(s) with this one image 

In order to help support researchers using the CLI, I'm interested in adding docs for these command line tools. Are you interested in this feature, and if so, can I have some guidance about how to edit the user manual?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions