File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,7 @@ Here is a table to summarize which are the parameters that can be use for each o
444444Empty means this parameter is not used.
445445not set means that by default the parameter is commented.
446446
447+ <!-- - Start of default table -->
447448parameter | x-axis | epilogos | links | domains | bed | narrow_peak | bigwig | bedgraph | bedgraph_matrix | hlines | hic_matrix
448449-- | - | - | - | - | - | - | - | - | - | - | -
449450where | bottom | | | | | | | | | |
@@ -490,12 +491,12 @@ show_masked_bins | | | | | | | | | | | false
490491scale_factor | | | | | | | | | | | 1
491492transform | | | | | | | | | | | no
492493colormap | | | | | | | | | | | RdYlBu_r
493-
494+ <!-- - End of default table -->
494495
495496Some parameters can take only discrete values.
496497
497498They are summarized here:
498-
499+ <!-- - Start of possible table -->
499500- ** where** :
500501 - for * x-axis* : top, bottom
501502- ** orientation** :
@@ -542,6 +543,7 @@ They are summarized here:
542543 - for * bigwig, bedgraph* : true, false
543544- ** arrowhead_included** :
544545 - for * bed* : true, false
546+ <!-- - End of possible table -->
545547
546548Adding new tracks
547549-----------------
Original file line number Diff line number Diff line change 1+ # This bash script can be used to regenerate the README when parameters changed in tracksclasses.
2+
3+ # Firts run the python script getAllDefaultsAndPossible.py
4+ python pygenometracks/getAllDefaultsAndPossible.py
5+
6+ # This generates 2 tables to include in the README
7+ # First include the first one: docs/content/all_default_properties.txt
8+ awk ' NR==1,/<!--- Start of default table -->/' README.md > newREADME.md
9+ cat docs/content/all_default_properties.txt >> newREADME.md
10+ awk ' /<!--- End of default table -->/{toprint = 1}toprint == 1{print}' README.md >> newREADME.md
11+ # Then include the second one: docs/content/all_possible_properties.txt
12+ awk ' NR==1,/<!--- Start of possible table -->/' newREADME.md > README.md
13+ cat docs/content/all_possible_properties.txt >> README.md
14+ awk ' /<!--- End of possible table -->/{toprint = 1}toprint == 1{print}' newREADME.md >> README.md
15+ rm newREADME.md
You can’t perform that action at this time.
0 commit comments