Last change
on this file was
1885,
checked in by pharms, 10 years ago
|
- added command for creates subsets of sequences with an intended size
|
File size:
1008 bytes
|
Rev | Line | |
---|
[1885] | 1 | Creates random subsets of a list of sequences that cover roughly a specified amount of events. The result is only an approximation as the sum of events of the selected sequences in a set may not hard fit the intended size. If possible, the subsets are independent. If not, the command will drop a message. |
---|
| 2 | |
---|
| 3 | $USAGE$ |
---|
| 4 | <subsetCount> the number of subsets to be created |
---|
| 5 | <subsetSize> the number of events contained in each subset |
---|
| 6 | <inputSequencesName> the name of the collection of sequences of which the subsets are to be created |
---|
| 7 | <outputSequencesName> optional; the name of the collection of sequences into which the resulting subset shall be stored; if left out, the result is stored in the collection identified by <sequencesName>_index |
---|
| 8 | |
---|
| 9 | Example(s): |
---|
| 10 | splitSequences 10 3000 someSequences (creates 10 subsets of sequences with 3000 events each) |
---|
| 11 | splitSequences 5 4500 someSequences someNewSequences (creates 5 subsets of sequences with 4500 events each which will be named someNewSequences_1 to someNewSequences_5) |
---|
Note: See
TracBrowser
for help on using the repository browser.