Skip to content

A simple utility to visualize a Distance Graph in two dimensions. Targeted for Biotech use, but is entirely general.

Notifications You must be signed in to change notification settings

bjmnbraun/DGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running:

  • java -jar DGraph.jar

Example usage:

  1. Make distance graph from short peptides or already-aligned sequences
  • Input: Fasta file
  • Choose "Run DGraph"
  • Choose "Generate PD scores" and check "PD score for aligned sequences"
  • Onscreen instructions say how to adjust the figure generation.
  • Press 's' to generate a PDF + PNG of the output
  1. Make distance graph from unaligned sequences (Sliding window approach)
  • Input: Fasta file
  • Choose "Run DGraph"
  • Choose "Generate PD scores." (Optionally) change the window size.
  • Onscreen instructions say how to adjust the figure generation.
  • Press 's' to generate a PDF + PNG of the output
  1. Make distance graph from unaligned sequences (Alignment approach)
  • Input: Fasta file
  • Run clustalw, i.e. from https://www.genome.jp/tools-bin/clustalw
  • Download the .aln file. (Optional) Copy+paste full clustalw output to file.
  • Run jalview and convert the .aln to a fasta of sequences with dashes
    • Note: To do this, open the .aln in jalview, Ctrl+A then Ctrl+C.
    • Then, in a text editor Ctrl+V to paste the Fasta of the alignment
  • Now continue with the example 1, using this new fasta file.

How to generate input files:

  • Dgraph supplies a number of utilities for getting input into a usable format.
  • "Coloring" file format: Readme TODO

Running in a script:

  • Run java -jar DGraph.jar -Dhelp to see a list of batch processing options.

Compiling from source

About

A simple utility to visualize a Distance Graph in two dimensions. Targeted for Biotech use, but is entirely general.

Resources

Stars

Watchers

Forks

Packages

No packages published