You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
from qiime.util import parse_command_line_parameters
from qiime.format import format_unifrac_sample_mapping
script_info={}
script_info['brief_description']="""Convert a QIIME OTU table to a UniFrac sample mapping file"""
script_info['script_description']="""This script allows users who have picked OTUs in QIIME to convert it to a sample mapping (environment) file for use with the Unifrac web interface."""
script_info['script_usage']=[]
script_info['script_usage'].append(("""Example:""","""Convert a biom-formatted OTU table to a unifrac sample mapping (environment) file: ""","""%prog -i otu_table.biom -o otu_table.sample_mapping.txt"""))
script_info['output_description']="""The result of this script is a sample mapping file for the UniFrac web interface."""
script_info['required_options']=[\
make_option('-i', '--otu_table_fp',type='existing_filepath',help='path to the otu table'),
make_option('-o', '--output_fp', type='new_filepath', help='path to output file')]