File: process_sff.rst

package info (click to toggle)
qiime 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 29,704 kB
  • sloc: python: 77,837; haskell: 379; sh: 113; makefile: 103
file content (67 lines) | stat: -rw-r--r-- 1,547 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.. _process_sff:

.. index:: process_sff.py

*process_sff.py* -- Convert sff to FASTA and QUAL files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**Description:**

This script converts a directory of sff files into FASTA, QUAL and flowgram files.



**Usage:** :file:`process_sff.py [options]`

**Input Arguments:**

.. note::

	
	**[REQUIRED]**
		
	-i, `-`-input_dir
		Input directory of sff files
	
	**[OPTIONAL]**
		
	-f, `-`-make_flowgram
		Generate a flowgram file. [default: False]
	-t, `-`-convert_to_FLX
		Convert Titanium reads to FLX length. [default: False]
	`-`-use_sfftools
		Use the external programs sfffile and sffinfo for processing, instead of the equivalent python implementation
	-o, `-`-output_dir
		Input directory of sff files [default: same as input dir]


**Output:**

This script results in FASTA and QUAL formatted files.


**Simple example:**

Convert all the sffs in directory "sffs/" to fasta and qual.

::

	process_sff.py -i sffs/

**Flowgram example:**

Convert all the sffs in directory "sffs/" to fasta and qual, along with a flowgram file.

::

	process_sff.py -i sffs/ -f

**Output example:**

Convert all the sffs in directory "sffs/" to fasta and qual, along with a flowgram file and write them to another directory.

::

	process_sff.py -i sffs/ -f -o output_dir