WIP: split libraries from SFFs

Design is to support:

* SFFs
* fasta
* fasta and qual

Specific parameters such as barcode type will be sourced from db. Finalizing this will require touching a few other areas of the codebase and a db patch, which I'll get to as they become necessary.

~~**This is not tested, and not mergable yet**~~
But there isn't actual support in place

On Mon, Dec 22, 2014 at 12:23 PM, Antonio Gonzalez <notifications@github.com
> wrote:
>
> In qiita_pet/handlers/preprocessing_handlers.py
> <https://github.com/biocore/qiita/pull/725#discussion-diff-22184515>:
>
> > +            form_data.process(data=self.request.arguments)
> > +            rcomp_mapping_barcodes = form_data.data['rev_comp_mapping_barcodes']
> > +            # currently only allow the user to change a single parameter of split
> > +            # libraries: --rev_comp_mapping_barcodes. The parameter ids 1 and 2
> > +            # contain the same set of values except for that flag. If param_id = 1,
> > +            # the flag is not activated, while in param_id = 2; it is.
> > +            if rcomp_mapping_barcodes:
> > +                # Choose the parameter set with the --rev_comp_mapping_barcodes
> > +                # flag activated
> > +                param_id = 2
> > +            else:
> > +                # Choose the parameter set with the --rev_comp_mapping_barcodes
> > +                # flag not activated
> > +                param_id = 1
> > +            param_constructor = PreprocessedIlluminaParams
> > +        elif raw_data.filetype in ('FASTA-Sanger', 'SFF'):
>
> We decided that we will only accept single fasta files if they come from
> Sanger, so the name is fine. If you need more explanation, we could chat.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/qiita/pull/725/files#r22184515>.
>