pages*: remove curly braces from example descriptions (#11462)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
> Bash builtin to substitute with a command found in history.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Event-Designators>.
|
||||
|
||||
- Substitute with the previous command and run it with sudo:
|
||||
- Substitute with the previous command and run it with `sudo`:
|
||||
|
||||
`sudo !!`
|
||||
|
||||
|
@@ -6,24 +6,24 @@
|
||||
|
||||
- Intersect two files regarding the sequences' strand and save the result to the specified file:
|
||||
|
||||
`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -s > {{path/to/output_file}}`
|
||||
`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -s > {{path/to/output_file}}`
|
||||
|
||||
- Intersect two files with a left outer join, i.e. report each feature from {{file_1}} and NULL if no overlap with {{file_2}}:
|
||||
- Intersect two files with a left outer join, i.e. report each feature from `file1` and NULL if no overlap with `file2`:
|
||||
|
||||
`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -lof > {{path/to/output_file}}`
|
||||
`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -lof > {{path/to/output_file}}`
|
||||
|
||||
- Using more efficient algorithm to intersect two pre-sorted files:
|
||||
|
||||
`bedtools intersect -a {{path/to/file_1}} -b {{path/to/file_2}} -sorted > {{path/to/output_file}}`
|
||||
`bedtools intersect -a {{path/to/file1}} -b {{path/to/file2}} -sorted > {{path/to/output_file}}`
|
||||
|
||||
- Group file {{`path/to/file`}} based on the first three and the fifth column and summarize the sixth column by summing it up:
|
||||
- Group file `path/to/file` based on the first three and the fifth column and summarize the sixth column by summing it up:
|
||||
|
||||
`bedtools groupby -i {{path/to/file}} -c 1-3,5 -g 6 -o sum`
|
||||
|
||||
- Convert bam-formatted file to a bed-formatted one:
|
||||
|
||||
`bedtools bamtobed -i {{path/to/file}}.bam > {{path/to/file}}.bed`
|
||||
`bedtools bamtobed -i {{path/to/file.bam}} > {{path/to/file.bed}}`
|
||||
|
||||
- Find for all features in {{file_1}}.bed the closest one in {{file_2}}.bed and write their distance in an extra column (input files must be sorted):
|
||||
- Find for all features in `file1.bed` the closest one in `file2.bed` and write their distance in an extra column (input files must be sorted):
|
||||
|
||||
`bedtools closest -a {{path/to/file_1}}.bed -b {{path/to/file_2}}.bed -d`
|
||||
`bedtools closest -a {{path/to/file1.bed}} -b {{path/to/file2.bed}} -d`
|
||||
|
@@ -4,7 +4,7 @@
|
||||
> Note: The Go command `dep` with the same name is deprecated and archived.
|
||||
> More information: <https://deployer.org>.
|
||||
|
||||
- Interactively initialize deployer in the local path (use a framework template with `--template={{template}}`):
|
||||
- Interactively initialize deployer in the local path (use a framework template with `--template=template`):
|
||||
|
||||
`dep init`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`ghdl -a {{filename.vhdl}}`
|
||||
|
||||
- Elaborate a design (where `{{design}}` is the name of a configuration unit, entity unit or architecture unit):
|
||||
- Elaborate a design (where `design` is the name of a configuration unit, entity unit or architecture unit):
|
||||
|
||||
`ghdl -e {{design}}`
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
`mosh {{remote_host}} -- {{command -with -flags}}`
|
||||
|
||||
- Select Mosh UDP port (useful when `{{remote_host}}` is behind a NAT):
|
||||
- Select Mosh UDP port (useful when `remote_host` is behind a NAT):
|
||||
|
||||
`mosh -p {{124}} {{username}}@{{remote_host}}`
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
`samtools sort {{input}} -o {{output.bam}}`
|
||||
|
||||
- Index a sorted BAM file (creates {{sorted_input.bam.bai}}):
|
||||
- Index a sorted BAM file (creates `sorted_input.bam.bai`):
|
||||
|
||||
`samtools index {{sorted_input.bam}}`
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
- Merge multiple files:
|
||||
|
||||
`samtools merge {{output}} {{input1 input2 …}}`
|
||||
`samtools merge {{output}} {{input1 input2 ...}}`
|
||||
|
||||
- Split input file according to read groups:
|
||||
|
||||
|
@@ -16,6 +16,6 @@
|
||||
|
||||
`swig -java {{path/to/swig_file.i}}`
|
||||
|
||||
- Generate a binding between C and Ruby and prefix the Ruby module with {{foo::bar::}}:
|
||||
- Generate a binding between C and Ruby and prefix the Ruby module with `foo::bar::`:
|
||||
|
||||
`swig -ruby -prefix "{{foo::bar::}}" {{path/to/swig_file.i}}`
|
||||
|
Reference in New Issue
Block a user