Distance matrix from mapping script - input file format
0
0
Entering edit mode
8.9 years ago
pmr • 0

I want to generate a distance matrix that contains coordinates for different samples. I found this script in Qiime, but I am having trouble getting the formatting of the mapping file right.

http://qiime.org/scripts/distance_matrix_from_mapping.html

Here is an excerpt of what my input file looks like:

#SampleID    Latitude,    Longitude
AF133791    14.730135,     101.982833
AM260974    34.033333,    73.4
AM260980    34.05,    73.53333333

This gave the error:

ValueError: One of these columns or both do not exist: 'Latitute' or 'Longitude' in the mapping file. Existing columns are: ['Latitude,', 'Longitude']

I also tried removing tabs between Latitude and Longitude, but this gave the error:

qiime.parse.QiimeParseError: No header line was found in mapping file.

Any help on formatting the mapping file is appreciated.

Qiime • 1.9k views
ADD COMMENT

Login before adding your answer.

Traffic: 2104 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6