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
444
444
Empty means this parameter is not used.
445
445
not set means that by default the parameter is commented.
446
446
447
+ <!-- - Start of default table -->
447
448
parameter | x-axis | epilogos | links | domains | bed | narrow_peak | bigwig | bedgraph | bedgraph_matrix | hlines | hic_matrix
448
449
-- | - | - | - | - | - | - | - | - | - | - | -
449
450
where | bottom | | | | | | | | | |
@@ -490,12 +491,12 @@ show_masked_bins | | | | | | | | | | | false
490
491
scale_factor | | | | | | | | | | | 1
491
492
transform | | | | | | | | | | | no
492
493
colormap | | | | | | | | | | | RdYlBu_r
493
-
494
+ <!-- - End of default table -->
494
495
495
496
Some parameters can take only discrete values.
496
497
497
498
They are summarized here:
498
-
499
+ <!-- - Start of possible table -->
499
500
- ** where** :
500
501
- for * x-axis* : top, bottom
501
502
- ** orientation** :
@@ -542,6 +543,7 @@ They are summarized here:
542
543
- for * bigwig, bedgraph* : true, false
543
544
- ** arrowhead_included** :
544
545
- for * bed* : true, false
546
+ <!-- - End of possible table -->
545
547
546
548
Adding new tracks
547
549
-----------------
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