40 |
|
|
41 |
=head3 new |
=head3 new |
42 |
|
|
43 |
C<< my $xprc = FudgeTransactions->new(\%options, $command, $directory, $idFile); >> |
my $xprc = FudgeTransactions->new(\%options, $command, $directory, $idFile); |
44 |
|
|
45 |
Construct a new FudgeTransactions object. |
Construct a new FudgeTransactions object. |
46 |
|
|
76 |
|
|
77 |
=head3 Setup |
=head3 Setup |
78 |
|
|
79 |
C<< $xprc->Setup(); >> |
$xprc->Setup(); |
80 |
|
|
81 |
Set up to apply the transactions. This includes reading the ID file. |
Set up to apply the transactions. This includes reading the ID file. |
82 |
|
|
92 |
|
|
93 |
=head3 Teardown |
=head3 Teardown |
94 |
|
|
95 |
C<< $xprc->Teardown(); >> |
$xprc->Teardown(); |
96 |
|
|
97 |
Update the ID table with high numbers to avoid duplication. |
Update the ID table with high numbers to avoid duplication. |
98 |
|
|
118 |
|
|
119 |
=head3 SetupGenome |
=head3 SetupGenome |
120 |
|
|
121 |
C<< $xprc->SetupGenome(); >> |
$xprc->SetupGenome(); |
122 |
|
|
123 |
Set up for processing this genome. This opens the output file. |
Set up for processing this genome. This opens the output file. |
124 |
|
|
135 |
|
|
136 |
=head3 TeardownGenome |
=head3 TeardownGenome |
137 |
|
|
138 |
C<< $xprc->TeardownGenome(); >> |
$xprc->TeardownGenome(); |
139 |
|
|
140 |
Clean up after processing this genome. This involves closing the output file and |
Clean up after processing this genome. This involves closing the output file and |
141 |
doing a rename. |
doing a rename. |
160 |
|
|
161 |
=head3 Add |
=head3 Add |
162 |
|
|
163 |
C<< $xprc->Add($newID, $locations, $translation); >> |
$xprc->Add($newID, $locations, $translation); |
164 |
|
|
165 |
Add a new feature to the data store. The Add is transmitted unmodified to the |
Add a new feature to the data store. The Add is transmitted unmodified to the |
166 |
output file and then a delete is created for the ID added the last time. |
output file and then a delete is created for the ID added the last time. |
200 |
|
|
201 |
=head3 Change |
=head3 Change |
202 |
|
|
203 |
C<< $xprc->Change($fid, $newID, $locations, $aliases, $translation); >> |
$xprc->Change($fid, $newID, $locations, $aliases, $translation); |
204 |
|
|
205 |
Replace a feature to the data store. The feature will be marked for deletion and |
Replace a feature to the data store. The feature will be marked for deletion and |
206 |
a new feature will be put in its place. |
a new feature will be put in its place. |