# HG changeset patch # User azuzolo # Date 1339014192 14400 # Node ID 2e14fb0fd7926815f048d77b189e78adc50217db # Parent f64df1c43db12e40f70520049373fbf88e9e1547 Uploaded diff -r f64df1c43db1 -r 2e14fb0fd792 split_libraries.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/split_libraries.xml Wed Jun 06 16:23:12 2012 -0400 @@ -0,0 +1,148 @@ + + Split libraries according to barcodes specified in mapping file + + split_libraries.py + + + qiime_wrapper.py + --galaxy_datasets='^seqs\.fna$:'$sequences,'histograms\.txt:'$histograms,'split_library_log\.txt:'$log + --galaxy_outputdir='$log.extra_files_path' + split_libraries.py + --dir-prefix='$log.extra_files_path' + --map=$map + #set fnas = [] + #for i in $inputs: + #set fnas = $fnas + [$i.fasta.__str__] + #end for + --fasta=#echo ','.join($fnas) + #set quals = [] + #for i in $inputs: + #if $i.qual != None and $i.qual.__str__ != 'None': + #set quals = $quals + [$i.qual.__str__] + #end if + #end for + #if len($quals) > 0: + --qual=#echo ','.join($quals) + #end if + #if len($min_seq_length.__str__) > 0 and $min_seq_length > 0: + --min-seq-length=$min_seq_length + #end if + #if len($max_seq_length.__str__) > 0: + --max-seq-length=$max_seq_length + #end if + $trim_seq_length + #if len($min_qual_score.__str__) > 0: + --min-qual-score=$min_qual_score + #end if + $keep_primer + $keep_barcode + #if len($max_ambig.__str__) > 0: + --max-ambig=$max_ambig + #end if + #if len($max_homopolymer.__str__) > 0: + --max-homopolymer=$max_homopolymer + #end if + #if len($max_primer_mismatch.__str__) > 0: + --max-primer-mismatch=$max_primer_mismatch + #end if + --barcode-type=$barcode_type + #if $max_barcode_errors >= 0.: + --max-barcode-errors=$max_barcode_errors + #end if + #if len($start_numbering_at.__str__) > 0: + --start-numbering-at=$start_numbering_at + #end if + $retain_unassigned_reads + $disable_bc_correction + #if len($qual_score_window.__str__) > 0: + --qual_score_window=$qual_score_window + #end if + $disable_primers + --reverse_primers=$reverse_primers + #if $reverse_primer_mismatches != None and $reverse_primer_mismatches.__str__ != "" and $reverse_primers.__str__!='disable': + --reverse_primer_mismatches=$reverse_primer_mismatches + #end if + $record_qual_scores + $discard_bad_windows + #if $median_length_filtering != None and $median_length_filtering.__str__ != "": + --median_length_filtering=$median_length_filtering + #end if + #if $added_demultiplex_field != None and $added_demultiplex_field.__str__ != "": + --added_demultiplex_field=$added_demultiplex_field + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + For more information, see split_libraries_ in the Qiime documentation. + +Updated and validated 01/19/12 by Amanda Zuzolo, Microbiome Analysis Center, George Mason University, Fairfax, VA + +Qiime integration courtesy Jim Johnson, Minnesota Supercomputing Institute, University of Minnesota, Minneapolis, MN + + .. _split_libraries: http://qiime.org/scripts/split_libraries.html + + +