# HG changeset patch # User wrtz # Date 1452811914 18000 # Node ID 8d9aa0763dc14a4b9e225b0b4e9559863fd3fe3a # Parent 44265821f01fd0f426e4e0048f44270cda5b1ef3 Uploaded diff -r 44265821f01f -r 8d9aa0763dc1 tabix.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tabix.xml Thu Jan 14 17:51:54 2016 -0500 @@ -0,0 +1,88 @@ + + Index tab-delimited file + + ln -s -f $input tabix_in.${input.ext} && + tabix -f + + #if str( $filetype_cond.filetype ) == "gff": + -p gff + #elif str( $filetype_cond.filetype ) == "bed": + -p bed + #elif str( $filetype_cond.filetype ) == "sam": + -p sam + #elif str( $filetype_cond.filetype ) == "vcf": + -p vcf + + #elif str( $input.ext ) == "gff": + -p gff + #elif str( $input.ext ) == "bed": + -p bed + #elif str( $input.ext ) == "sam": + -p sam + #elif str( $input.ext ) == "vcf": + -p vcf + #elif str( $input.ext ) == "vcf_bgzip": + -p vcf + #end if + + #if str( $filetype_cond.filetype ) == "other": + #if str( $filetype_cond.seq_name_column ) != "": + -s ${filetype_cond.seq_name_column} + #end if + #if str( $filetype_cond.start_column ) != "": + -b ${filetype_cond.start_column} + #end if + #if str( $filetype_cond.end_column ) != "": + -e ${filetype_cond.end_column} + #end if + #if str( $filetype_cond.skip_first_lines ) != "": + -S ${filetype_cond.skip_first_lines} + #end if + #if str( $filetype_cond.comment_symbol ) != "": + -c "${filetype_cond.comment_symbol}" + #end if + #if str( $filetype_cond.zero_based ) == "true": + -0 + #end if + #end if + tabix_in.${input.ext} && + cp tabix_in.${input.ext}.tbi $output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**About this tool** + +**Tabix**: Generic indexer for TAB-delimited genome position files. Outputs index of input file. + +More info here: http://www.htslib.org/doc/tabix.html + +