Modes ===== .. _modes: The Rp3 pipeline has different modes responsible for different steps in the data processing workflow. Run the modes in the adequate order using the same output directory provided with ``--outdir``. Some modes are 'extra' and will provide additional layers of information about the identified microproteins. Database ------------ 1. Run the RP3 pipeline in its ``database`` mode to generate a custom database for mass spectrometry-based proteomics. Run the pipeline with ``$ rp3.py database -h`` to print all available commands for this mode. 2. Run the database mode - Alternatively, you can run the ``translation`` mode separately, in case you do not need the reference proteome, decoy sequences and contaminants added to the fasta file. You can always run the ``database`` mode with the ``--skip_translation`` flag later on to generate a database suited for peptide search for mass spectrometry data. - By default, ``database`` automatically executes the ``translation`` mode. 3. Parameters Run ``$ rp3.py database -h`` on the command line to check which commands are available. This will print out this message: .. code-block:: console General Parameters: database --outdir OUTDIR, -o OUTDIR Inform the output directory (default: foopipe) --threads THREADS, -p THREADS Number of threads to be used. (default: 1) database options: --proteome PROTEOME Reference proteome (default: None) --genome GENOME --gtf_folder GTF_FOLDER --external_database EXTERNAL_DATABASE --skip_translation Example code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4.1. Generating a custom database for proteomics from a transcriptome assembly or custom GTF files ``$ rp3.py database --outdir --threads 8 --genome --gtf_folder --proteome