skip to main content
Roche logo
3.5.10.1
Updating an Object
One way to edit an object is to use the “update” command (see section 3.4.16 for the usage statement). In the example Project, we find that the region 4 Read Data Set is actually empty. Since the “load” command used to import Read Data Sets defaults the “active” flag to true, we need to change that flag to false, for this Read Data Set:
update readData EGFR_reads04 -active false
3.5.10.2
Renaming an Object
Although you can change most of the properties of an object using the update command (section 3.5.10.1), an object name change requires the “rename” command (see section 3.4.11 for the usage statement). For example:
rename sample –name Sample8 –newName Vial_XYZ
rename sample Sample8 Vial_XYZ
As with the update command (section 3.5.10.1), if the Project contains Amplicons or Variants with duplicate names (but that are defined relative to different Reference Sequences), you must supply an “ofRef” parameter to specify which particular Amplicon or Variant you want to rename. If a rename command encounters an ambiguous Amplicon or Variant name, the command will fail and an error will be generated.
3.5.10.3
Removing an Object
remove sample Sample8
3.5.10.4
Dissociating Relationships
dissoc -sample Sample6 -amp EGFR_21_1
dissoc -readdata DGVS90J02 -samp Sample2 -amp EGFR_18_1
dissoc -readdata DGVS90J01 -samp Sample1