# HG changeset patch # User jbrayet # Date 1442923266 14400 # Node ID 5aa022e3a2aefc4ad74d8821c129d459339f246b # Parent afb729007a812cfe69b3eaf66334855ce75b16ca Uploaded diff -r afb729007a81 -r 5aa022e3a2ae convertMatrix_wrapper.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/convertMatrix_wrapper.xml Tue Sep 22 08:01:06 2015 -0400 @@ -0,0 +1,178 @@ + + + Inter-conversions between various formats of PSSM + + python + + + convertMatrix_wrapper.py -matrix $matrixFile -outGalaxy $txtFile -server $server -input_form $input_format -output_form $output_format + #if $advanced_parameters.adv_param == "show": + #if $advanced_parameters.return_count_condition.return_count == "yes": + -return counts + -perm $advanced_parameters.return_count_condition.perm + #else: + -return $advanced_parameters.return_count_condition.return + #end if + -rc $advanced_parameters.rc + -decimals $advanced_parameters.decimals + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +.. class:: infomark + +Convert different types of position-specific scoring matrices (PSSM), and calculate statistical parameters. + +------ + +*Example with jaspar matrix*:: + + >matrix1 matrix1 + A [ 4 19 0 0 0 0 ] + C [ 16 0 20 0 0 0 ] + G [ 0 1 0 20 0 20 ] + T [ 0 0 0 0 20 0 ] + +------ + +*Results : tranfac matrix with output fields (consensus, parameters, frequencies and sites)*:: + + AC m1 + XX + ID m1 + XX + DE m1 m1; from JASPAR + P0 A C G T + 1 4 16 0 0 + 2 19 0 1 0 + 3 0 20 0 0 + 4 0 0 20 0 + 5 0 0 0 20 + 6 0 0 20 0 + XX + CC program: jaspar + CC matrix.nb: 1 + CC min.prior: 0.25 + CC alphabet.size: 4 + CC max.bits: 2 + CC total.information: 6.56407409450406 + CC information.per.column: 1.09401234908401 + CC max.possible.info.per.col: 1.38629436111989 + CC consensus.strict: CACGTG + CC consensus.strict.rc: CACGTG + CC consensus.IUPAC: CACGTG + CC consensus.IUPAC.rc: CACGTG + CC consensus.regexp: CACGTG + CC consensus.regexp.rc: CACGTG + CC residues.content.crude.freq: a:0.1917|c:0.3000|g:0.3417|t:0.1667 + CC G+C.content.crude.freq: 0.641666666666667 + CC residues.content.corrected.freq: a:0.1944|c:0.2976|g:0.3373|t:0.1706 + CC G+C.content.corrected.freq: 0.634920634920635 + XX + // + + + @article{Medina-Rivera22042015, + author = {Medina-Rivera, Alejandra and Defrance, Matthieu and Sand, Olivier and Herrmann, Carl and Castro-Mondragon, Jaime A. and Delerce, Jeremy and Jaeger, Sébastien and Blanchet, Christophe and Vincens, Pierre and Caron, Christophe and Staines, Daniel M. and Contreras-Moreira, Bruno and Artufel, Marie and Charbonnier-Khamvongsa, Lucie and Hernandez, Céline and Thieffry, Denis and Thomas-Chollier, Morgane and van Helden, Jacques}, + title = {RSAT 2015: Regulatory Sequence Analysis Tools}, + year = {2015}, + doi = {10.1093/nar/gkv362}, + URL = {http://nar.oxfordjournals.org/content/early/2015/04/21/nar.gkv362.abstract}, + eprint = {http://nar.oxfordjournals.org/content/early/2015/04/21/nar.gkv362.full.pdf+html}, + journal = {Nucleic Acids Research} + } + +