/** This code is so trivial that we won't even bother with a copyright notice. **/ package { import flash.display.Sprite; import flash.display.Shape; import flash.display.Graphics; public class BCFProteinViewer extends Sprite { public function BCFProteinViewer() { var renderInfo:String = loaderInfo.parameters.render_info; /** // TEST1 = var renderInfo:String = // INS_HUMAN - Uniprot entry that includes exo-chain residues. ':BCF_SEQ_RNDR_INFO_V1:BB10,5,20,6,110:CH0,00,MALWMRLLPLLALLALWGPDPAAA' + ':CH1,00,FVNQHLCGSHLVEALYLVCGERGFFYTPKT:CH0,00,RREAEDLQVGQVELGGGPGAGSLQPLALEGSLQKR' + ':CH2,00,GIVEQCCTSICSLYQLENYCN:SS31,96,105,25,105,26,-5,26,-5,57,155,57,155,60' + ':SS43,109,25,40,25,42,206,42,206,73,85,73,85,75:SS95,100,145,60,145,58,195,58,195,60:ED'; // TEST2 = var renderInfo:String = // All features included. ':BCF_SEQ_RNDR_INFO_V1:BB10,5,20,2,40:CH1,00,ACEG:CH2,00,1EGCF:CH3,00,ASD1EFGAASDFA' + ':CH4,10,SDFA:CH5,01,SD2FSD3FASDF:CH6,00,ASASDF:SS2,7,15,0,15,-2,65,-2,65,0' + ':XL11,9,20,81,5,79,5,79,-2,201,-2,201,5,199,5:ED'; **/ new ProteinRenderer().renderProtein(renderInfo, this, this.graphics); } } }