PATRIC Documentation

PATRIC Resources:

  • Quickstart Video
  • User Guides
  • Tutorials
  • Common Tasks in PATRIC
  • Command Line Interface
    • Installing the CLI Release
    • Tutorials and Reference Documentation
      • Installing the PATRIC Command Line Interface
      • Using the PATRIC Command-line Interface
      • Using PATRIC Services from the Command Line
      • Common Tasks With P3 Scripts
      • Looking for Hypothetical Proteins in Clusters of Related Features
      • Computing Signature Clusters: an Application of the Command-Line Tools
      • PATRIC Command Line Program Reference
        • Common Options to Command Line Programs
        • GenomeTypeObject
        • Hsp
        • Sim
        • p3-all-drugs
        • p3-all-genomes
        • p3-blast
        • p3-build-kmer-db
        • p3-closest-seqs
        • p3-count
        • p3-echo
        • p3-extract
        • p3-feature-gap
        • p3-feature-upstream
        • p3-file-filter
        • p3-find-couples
        • p3-find-features
        • p3-find-in-clusters
        • p3-format-results
        • p3-function-to-role
        • p3-generate-close-roles
        • p3-generate-clusters
        • p3-genome-fasta
        • p3-get-drug-genomes
        • p3-get-family-data
        • p3-get-family-features
        • p3-get-feature-data
        • p3-get-feature-group
        • p3-get-feature-sequence
        • p3-get-features-by-sequence
        • p3-get-genome-contigs
        • p3-get-genome-data
        • p3-get-genome-drugs
        • p3-get-genome-features
        • p3-get-genome-group
        • p3-gto
        • p3-gto-dna
        • p3-gto-fasta
        • p3-gto-scan
        • p3-identify-clusters
        • p3-join
        • p3-kmer-compare
        • p3-list-feature-groups
        • p3-list-genome-groups
        • p3-login
        • p3-match
        • p3-merge
        • p3-pick
        • p3-project-subsystems
        • p3-put-feature-group
        • p3-put-genome-group
        • p3-rast
        • p3-related-by-clusters
        • p3-rep-prots
        • p3-sequence-profile
        • p3-set-to-relation
        • p3-signature-clusters
        • p3-signature-families
        • p3-signature-peginfo
        • p3-sort
        • p3-stats
        • p3-tbl-to-fasta
    • RAST Tutorials
  • Webinars
  • Instructional Videos
  • Workshops

PATRIC Information:

  • About Us
  • Contact Us
  • News Articles
  • Presentations
  • Brochure
  • Publications by PATRIC
  • Acknowledgements
  • Scientific Working Group
  • System Documentation
  • Usage Metrics
  • GitHub
  • Personnel
  • Citing PATRIC
  • Privacy Policy
  • Related Sites
PATRIC Documentation
  • Docs »
  • Command Line Interface »
  • PATRIC Command Line Program Reference »
  • p3-related-by-clusters
  • View page source

p3-related-by-clusters¶

Compute Related Protein Families Based on Clusters¶

p3-related-by-clusters --gs1 Genome_set_1
                       --gs2 Genome_set_2
                       --sz1 Sample_size_for_gs1
                       --sz2 Sample_size_for_gs2
                       --iterations Number_random_sample_iterations
                       --family fam_type
                       --Output Directory

This tool takes as input two genome sets. These will often be

gs1    genomes for a specific species (e.g., Streptococcus pyogenes)
gs2    genomes from the same genus, but different species

The tool picks random subsets of gs1 and gs2, computes signature families for each pair of picks, then computes clusters of these families for each pick.

It does a set of iterations, saving the signature clusters for each iteration.

After running the set of iterations, it computes the number of times each pair of signature families were in signature clusters.

It outputs the pairs of co-ocurring signature families, along with the signature clusters computed for each iteration.

The output goes to a created directory. Within that directory, the subdirectory

CS

will contain the cluster signatures for each iteraion, and

related.signature.families

is set to the predicted functionally-coupled pairs of families:

[occurrence-count,family1,family2] sorted into descending order based on count.

Each CS/n file contains entries of the form

famId1 peg1 func1
famId2 peg2 func2
.
.
.
//

Parameters¶

There are no positional parameters.

Standard input is not used.

The additional command-line options are as follows.

gs1

Genome set 1: a file containing genome ids in the first column These genomes will be the onces containing signature families and clusters.

gs2

Genome set 2: a file containing genome ids in the first column

sz1

For each iteration pick a sample of sz1 genomes from gs1

sz2

For each iteration pick a sample of sz2 genomes from gs2

iterations

run this many iterations of random subsets of gs1 and gs2

output

a created directory that will contain the output

family

Type of protein family– local, global, or figfam.

Next Previous

© Copyright 2020 | The PATRIC Team

Built with Sphinx using a theme provided by Read the Docs.