We will be hosting mothur and R workshops throughout 2018. Learn more.

Oligos File

From mothur
Jump to: navigation, search

The oligos file is used to provide barcodes and primers to mothur. Mothur removes items in the following order: linkers, barcodes, spacers then primers.

Forward Primers

The forward primer lines can have two formats.

forward primerString optionalPrimerName

example

forward CCGTCAATTCMTTTRAGT

or

forward CCGTCAATTCMTTTRAGT  Group1

Reverse Primers

Reverse primers have only one format.

reverse reversePrimerString

example

reverse CCGTCAATTCMTTTRAGT

Paired Primers

The paired primer lines can have two formats.

primer forwardPrimerString reversePrimerString optionalPrimerName

example

primer ATTAGAWACCCBDGTAGTCC  CCCGTCAATTCMTTTRAGT

or

primer ATTAGAWACCCBDGTAGTCC  CCCGTCAATTCMTTTRAGT  V5

or to indicate forward only when paired reads

primer ATTAGAWACCCBDGTAGTCC  NONE  V5

or to indicate reverse only when paired reads

primer NONE  CCCGTCAATTCMTTTRAGT  V5

Barcodes

Barcodes should be formatted as follows:

barcode barcodeString sampleName

example

barcode	AATGGTAC 	F003D000
barcode	AACCTGGC 	F003D002
barcode	TTCGTGGC 	F003D004
barcode	TTCTTGAC 	F003D006
barcode	TTCGCGAC 	F003D008
barcode	TCCAGAAC 	F003D142
barcode	AAGGCCTC 	F003D144
barcode	TGACCGTC 	F003D146
barcode	AGGTTGTC 	F003D148
barcode	TGGTGAAC 	F003D150
barcode	AACCGTGTC 	MOCK.GQY1XT001

Paired Barcodes

Paired Barcodes should be formatted as follows:

barcode forwardBarcodeString reverseBarcodeString sampleName

example

barcode  ccaac  ccaac  V1F01V9RA
barcode  ggttg  ccaac  V1F02V9RA
barcode  ttggt  ccaac  V1F03V9RA
...

or to indicate forward only when paired reads

barcode  ccaac  NONE  V1F01V9RA
barcode  ggttg  NONE  V1F02V9RA
barcode  ttggt  NONE  V1F03V9RA
...

or to indicate reverse only when paired reads

barcode  NONE  ccaac  V1F01V9RA
barcode  NONE  ccaac  V1F02V9RA
barcode  NONE  ccaac  V1F03V9RA
...

Linkers

The linker format is as follows:

linker yourLinkerString

example

linker tcag

Spacers

The spacer format is as follows:

spacer yourSpacerString

example

spacer tacgg

Ignoring samples with trim.seqs && trim.flows

You can set the group to "ignore" to indicate to mothur to cull them from the trimmmed file.

barcode	AATGGTAC	ignore
forward CCGTCAATTCMTTTRAGT  ignore