Bioinformatics/Subsequence: Difference between revisions

Line 299:
as can be found at https://rosettacode.org/wiki/Random_numbers#jq
 
In practice, it's usually more convenient to use a utility such as
gshuf or jot to provide the source of randomness. Here we use
`jot -r N MIN MAX` but a fourth argument can also be
used to specify a seed.
 
Note that the indices shown below are offsets (i.e., the index origin is taken to be 0).
<lang sh>
#!/bin/bash
2,442

edits