Workflow Entry: DOI Files
Created at: 05/06/09 @ 13:51:57
Version 1
(of 1)
|
|
Title:
DOI Files
Type:
Taverna 1
Preview
(Click on the image to get the full size)
Description
This workflow generates additional files required for handling DOI creation: the DOI URL mapping required for the DOI deposit, and a set of sql update statements to insert the DOIs into an eprints database.
Note that it is extremely important for this workflow to use the same CSV file as was used with the DOI record generator, as well as the same seed number.
Download
Run
Run this Workflow in the Taverna Workbench...
Option 1:
Note:
you need to have both the WHIP Launcher
and the Taverna myExperiment/WHIP plugin installed on your machine for this to work.
See here for information.
Workflow Components
Inputs (1)
| Name |
Description |
| seed |
Seed number for generating unique DOIs. |
Processors (13)
| Name |
Type |
Description |
| file_location |
stringconstant |
Location of the source CSV with data for creating records.
|
| read_input |
local |
Shim to read in the file, location provided by a string constant.
|
| split_rows |
local |
Takes a flat CSV input file and splits it into a list.
|
| split_numbers_to_list |
local |
Takes a single string output and converts it to a list.
|
| split_more |
local |
Takes the list input and creates a 2-deep list.
|
| make_number_sequence |
beanshell |
Creates a sequential integer series for assignment to DOIs.
|
| format_months |
beanshell |
Ensures two-digit month values.
|
| aggregate_doi_urls |
beanshell |
Aggregates the individual URL mappings into a single file to send to the registry agency.
|
| generate_doi |
beanshell |
Creates a unique DOI string following the format <DOI.base>/<source>.<year>-<month>.<sequential number>.
|
| generate_doi_url_mapping |
beanshell |
Generates a pairlist of DOIs and associated URLs for the files.
|
| split_fields |
beanshell |
Reads the 2-deep input list and splits out the values into separate variables.
|
| make_sql_doi_updates |
beanshell |
Creates sql update statements for each new DOI.
|
| aggregate_sql_updates |
beanshell |
Aggregates the individual sql update statements into a single file.
|
Beanshells (8)
| Name |
Description |
Inputs |
Outputs |
| make_number_sequence |
Creates a sequential integer series for assignment to DOIs. |
seed
trigger
|
number_sequence
|
| format_months |
Ensures two-digit month values. |
month
|
formatted_month
|
| aggregate_doi_urls |
Aggregates the individual URL mappings into a single file to send to the registry agency. |
doi
|
import_file
|
| generate_doi |
Creates a unique DOI string following the format <DOI.base>/<source>.<year>-<month>.<sequential number>. |
source
year
month
seed
|
doi
|
| generate_doi_url_mapping |
Generates a pairlist of DOIs and associated URLs for the files. |
doi
url
|
doi_records
|
| split_fields |
Reads the 2-deep input list and splits out the values into separate variables. |
file
|
eprintid
year
month
url
source
|
| make_sql_doi_updates |
Creates sql update statements for each new DOI. |
doi
eprintid
|
sql_insert
|
| aggregate_sql_updates |
Aggregates the individual sql update statements into a single file. |
sql
|
update_statements
|
Outputs (2)
| Name |
Description |
| sqlUpdateStatements |
Update statements to insert DOIs into an existing eprints database. |
| DOIURLs |
|
Links (20)
| Source |
Sink |
| aggregate_doi_urls:import_file |
DOIURLs |
| aggregate_sql_updates:update_statements |
sqlUpdateStatements |
| file_location:value |
read_input:fileurl |
| format_months:formatted_month |
generate_doi:month |
| generate_doi:doi |
make_sql_doi_updates:doi |
| generate_doi_url_mapping:doi_records |
aggregate_doi_urls:doi |
| make_sql_doi_updates:sql_insert |
aggregate_sql_updates:sql |
| read_input:filecontents |
split_rows:string |
| seed |
make_number_sequence:seed |
| generate_doi:doi |
generate_doi_url_mapping:doi |
| make_number_sequence:number_sequence |
split_numbers_to_list:string |
| split_fields:eprintid |
make_number_sequence:trigger |
| split_fields:eprintid |
make_sql_doi_updates:eprintid |
| split_fields:month |
format_months:month |
| split_fields:source |
generate_doi:source |
| split_fields:url |
generate_doi_url_mapping:url |
| split_fields:year |
generate_doi:year |
| split_more:split |
split_fields:file |
| split_numbers_to_list:split |
generate_doi:seed |
| split_rows:split |
split_more:string |
Original Uploader
License
All versions of this Workflow are
licensed under:
Credits (1)
(People/Groups)
Attributions (1)
(Workflows/Files)
Shared with Groups (0)
None
Featured In Packs (1)
Log in to add to one of your Packs
Ratings (0)
Current:
0.0 / 5
(0 ratings)
Log in to rate and see breakdown of ratings
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Version History
Earliest Version:
[1] - DOI Files
This Workflow only has one version.
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
No comments yet
Log in to make a comment