Difference between revisions of "ProteinAlignment2Figure"

From Crop Genomics Lab.
Jump to: navigation, search
(ProteinAlignment2Figure.py)
(Gene Info File)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== ProteinAlignment2Figure.py ==
 
== ProteinAlignment2Figure.py ==
  
[[File:P2F.JPG|100px|frameless]]
+
[[File:P2F.JPG|500px|frameless]]
  
 
63:/home/alima90/py/ProteinAlignment2Figure.py
 
63:/home/alima90/py/ProteinAlignment2Figure.py
 +
 +
You can draw figure using protein alignment file(*.aln)
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 23: Line 25:
 
|}
 
|}
  
each information is separated by tab
+
Each information is separated by tab
 
mRNA,CDS,UTR and repeat can be Type
 
mRNA,CDS,UTR and repeat can be Type
 
+,- can be strand
 
+,- can be strand
repeat type has two strand 1 and 2. 1 means first repeat in repeat pair, 2 means second repeat in repeat pair.
+
Repeat type has two strand 1 and 2. 1 means first repeat in repeat pair, 2 means second repeat in repeat pair.
  
if you want to change color, you have to change the code manually.
+
If you want to change color, you have to change the code manually.

Latest revision as of 06:39, 17 December 2014

ProteinAlignment2Figure.py

P2F.JPG

63:/home/alima90/py/ProteinAlignment2Figure.py

You can draw figure using protein alignment file(*.aln)

Command
USAGE : python ProteinAlignment2Figure_v1.0.py ProteinAlignmentFile GeneInfoFile > out.svg

Gene Info File

Gene info file contains gene or repeat information The header of Gene info File is below

Gene info file header
Gene_name Type ChrNo Start end strand

Each information is separated by tab mRNA,CDS,UTR and repeat can be Type +,- can be strand Repeat type has two strand 1 and 2. 1 means first repeat in repeat pair, 2 means second repeat in repeat pair.

If you want to change color, you have to change the code manually.