SourceTracker Help Please

362 views
Skip to first unread message

Andy

unread,
Nov 8, 2014, 9:45:34 AM11/8/14
to qiime...@googlegroups.com
I am trying to run source tracker on my dataset combined with some human references.  I ran closed OTU picking with gg reference dataset and my OTU table seems ok (I have shared phylotypes across the dataset)  I have attached my otu table, and mapping file.  I was able to successfully run sourcetracker with the tutorial files. Any help would be greatly appreciated.

R --slave --valnilla --args -i otus/filtered_otu_table.txt -m humans.txt -o sourcetracker_out_1 <SOURCETRACKER_PATH/sourcetracker_for_qiime_r

Error in x[1, ] : subscript out of bounds
Calls: sourcetracker -> rarefy
Execution halted

Thanks in advance for any assistance,
Andy


human.txt
filtered_otu_table.txt

Andy

unread,
Nov 9, 2014, 11:48:58 AM11/9/14
to qiime...@googlegroups.com
I figured it out.  Just in case others have some error message, I read under QIIME blog about mapping files with additional spaces from leading and trailing whitespaces which can cause some issues when using compiler in R.  The post has python file to strip out these white spaces and way to download it from GitHub.  Script is strip_mapping_file_fields.py

Andy

Barvaz Sini

unread,
Nov 10, 2014, 1:30:06 AM11/10/14
to qiime...@googlegroups.com
Hi Andy,
Thanks for posting this solution!

Cheers,
Amnon

--

---
You received this message because you are subscribed to the Google Groups "Qiime Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qiime-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages