Mercurial > repos > ecology > tool_anonymization
comparison anonymization.xml @ 0:c586703ea141 draft default tip
"planemo upload for repository https://github.com/Marie59/Data_explo_tools commit 60627aba07951226c8fd6bb3115be4bd118edd4e"
| author | ecology |
|---|---|
| date | Fri, 13 Aug 2021 18:13:54 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:c586703ea141 |
|---|---|
| 1 <tool id="tool_anonymization" name="Spatial coordinates anonymization" version="@VERSION@" profile="20.01"> | |
| 2 <description> | |
| 3 without loss of the spatial relationships | |
| 4 </description> | |
| 5 <macros> | |
| 6 <import>macro.xml</import> | |
| 7 </macros> | |
| 8 <requirements> | |
| 9 <requirement type="package" version="0.8.1">r-tangles</requirement> | |
| 10 </requirements> | |
| 11 <command detect_errors="exit_code"><![CDATA[ | |
| 12 Rscript | |
| 13 '$__tool_directory__/funct_anomy.r' | |
| 14 '$input' | |
| 15 '$colnames' | |
| 16 '$latitude' | |
| 17 '$longitude' | |
| 18 '$output' | |
| 19 ]]> | |
| 20 </command> | |
| 21 <inputs> | |
| 22 <expand macro="explo_input"/> | |
| 23 <param name="latitude" label="Select column containing latitudes in decimal degrees" type="data_column" numerical="true" data_ref="input" multiple="false" use_header_names="true"/> | |
| 24 <param name="longitude" label="Select column containing longitudes in decimal degrees" type="data_column" numerical="true" data_ref="input" multiple="false" use_header_names="true"/> | |
| 25 </inputs> | |
| 26 <outputs> | |
| 27 <data name="output" from_work_dir="anonym_data.tabular" format="tabular"/> | |
| 28 </outputs> | |
| 29 <tests> | |
| 30 <test> | |
| 31 <param name="input" value="Reel_life_survey_fish_modif.tabular"/> | |
| 32 <param name="colnames" value="true"/> | |
| 33 <param name="latitude" value="9"/> | |
| 34 <param name="longitude" value="10"/> | |
| 35 <output name="output"> | |
| 36 <assert_contents> | |
| 37 <has_n_lines n="290"/> | |
| 38 </assert_contents> | |
| 39 </output> | |
| 40 </test> | |
| 41 </tests> | |
| 42 <help><![CDATA[ | |
| 43 ===================================================== | |
| 44 Anonymization of the spatial coordinates of your data | |
| 45 ===================================================== | |
| 46 | |
| 47 | |
| 48 **What it does** | |
| 49 | |
| 50 This tool anonymizes (random with 3 levels of abstraction) longitude and latitude decimal degrees coordinates of a tabular file without loss of the spatial relationships within the data. Handy to allow the sharing of sensitive data regarding threatened species or human activities for instance. | |
| 51 | |
| 52 Input description : | |
| 53 | |
| 54 A tabular file with observation data. Must at least contain two columns, latitudes and longitudes. | |
| 55 | |
| 56 +-------------+------------+ | |
| 57 | latitude | longitude | | |
| 58 +=============+============+ | |
| 59 | 2 | 4 | | |
| 60 +-------------+------------+ | |
| 61 | ... | ... | | |
| 62 +-------------+------------+ | |
| 63 | |
| 64 Output description : | |
| 65 | |
| 66 A tabular file with your original data file with its longitude and latitude replaced by anonymized longitudes and latitudes. | |
| 67 | |
| 68 ]]></help> | |
| 69 <citations> | |
| 70 </citations> | |
| 71 </tool> |
