We will be offering an R workshop December 18-20, 2019. Learn more.

Difference between revisions of "Batch mode"

From mothur
Jump to: navigation, search
 
Line 1: Line 1:
In [[batch mode]] you can supply a file with a list of commands that you want mothur to run.  This would be useful if you have a set of analyses that you know you are going to run and don't want to have to wait for them to run.  For example, if you want to run the traditional analysis performed by dotur using the [[Media:AmazonData.zip|AmazonData.zip]] data set, then your batch file should look like this:
+
In [[batch mode]] you can supply a file with a list of commands that you want mothur to run.  This would be useful if you have a set of analyses that you know you are going to run and don't want to have to wait for them to run.  For example the batch file could look like:
  
  cluster(phylip=98_sq_phylip_amazon.dist, cutoff=0.1)
+
  cluster(column=final.dist, count=final.count_table, cutoff=0.03)
 
  collect.single()
 
  collect.single()
 
  rarefaction.single()  
 
  rarefaction.single()  
Line 12: Line 12:
  
 
  #This is a batch file for running the equivalent of dotur
 
  #This is a batch file for running the equivalent of dotur
  cluster(phylip=98_sq_phylip_amazon.dist, cutoff=0.1)
+
  cluster(column=final.dist, count=final.count_table, cutoff=0.03)
 
  collect.single()
 
  collect.single()
 
  rarefaction.single()
 
  rarefaction.single()
  
 
Of related interest is the [[command line mode]].
 
Of related interest is the [[command line mode]].

Latest revision as of 15:39, 29 January 2018

In batch mode you can supply a file with a list of commands that you want mothur to run. This would be useful if you have a set of analyses that you know you are going to run and don't want to have to wait for them to run. For example the batch file could look like:

cluster(column=final.dist, count=final.count_table, cutoff=0.03)
collect.single()
rarefaction.single() 

To run mothur in batch mode enter the name of the batch file after the program name. For example:

escriba:AmazonData pschloss$ ../mothur/mothur batchfile

If you want to enter any comments in the batch file, simply make sure that the first character on the line is a pound (i.e. #) character:

#This is a batch file for running the equivalent of dotur
cluster(column=final.dist, count=final.count_table, cutoff=0.03)
collect.single()
rarefaction.single()

Of related interest is the command line mode.