This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Distance matrix from mapping script - input file format

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

0 answers

No answers yet.

Log in to answer this question.