# HG changeset patch
# User yhoogstrate
# Date 1447231865 18000
# Node ID 64017ce705b6c730636e9cbe9934995fb4735c18
# Parent 418343b53afd8584fae5dd70f90e9fe4de2a02f1
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools commit c475b4222a15cdadc6085865f4d13426249fec25-dirty
diff -r 418343b53afd -r 64017ce705b6 datatypes_conf.xml
--- a/datatypes_conf.xml Tue Nov 10 11:18:20 2015 -0500
+++ b/datatypes_conf.xml Wed Nov 11 03:51:05 2015 -0500
@@ -12,6 +12,7 @@
+
diff -r 418343b53afd -r 64017ce705b6 lib/galaxy/datatypes/completegenomics.py
--- a/lib/galaxy/datatypes/completegenomics.py Tue Nov 10 11:18:20 2015 -0500
+++ b/lib/galaxy/datatypes/completegenomics.py Wed Nov 11 03:51:05 2015 -0500
@@ -14,6 +14,7 @@
from galaxy.datatypes import tabular
from galaxy.datatypes.metadata import MetadataElement
from galaxy.datatypes.tabular import Tabular
+from galaxy.datatypes.binary import Binary
import galaxy_utils.sequence.vcf
from galaxy.datatypes.sniff import *
@@ -69,3 +70,15 @@
def display_peek( self, dataset ):
"""Returns formated html of peek"""
return Tabular.make_html_table( self, dataset, column_names=self.column_names )
+
+class CRR( Binary ):
+ file_ext = "crr"
+
+ def sniff( self, filename ):
+ try:
+ header = open( filename ).read(4)
+ if binascii.b2a_hex( header ) == binascii.hexlify( 'CRR\n' ):
+ return True
+ return False
+ except:
+ return False
diff -r 418343b53afd -r 64017ce705b6 lib/galaxy/datatypes/completegenomics.pyc
Binary file lib/galaxy/datatypes/completegenomics.pyc has changed
diff -r 418343b53afd -r 64017ce705b6 tools/cgatools17/listvariants_v17.xml
--- a/tools/cgatools17/listvariants_v17.xml Tue Nov 10 11:18:20 2015 -0500
+++ b/tools/cgatools17/listvariants_v17.xml Wed Nov 11 03:51:05 2015 -0500
@@ -1,75 +1,92 @@
- Lists all variants present in CG var or masterVar file
+ Lists all variants present in CG var or masterVar file
+
+
+ cgatools17
+
-
- cgatools17
-
+ cgatools | head -1
+
+
+ cgatools
+ listvariants
+ --beta
-
- echo \$PATH;
- cgatools | head -1;
- cgatools listvariants
- --beta
- --reference ${crr.fields.crr_path}
- --output $output
- #if $include_list.listing == "yes"
- --variant-listing $include_list.list
- #end if
- $longvar
- --variants
- #for $v in $file_types.varfiles
- ${v.input}
- #end for
+ #if $reference_gene_sets_source.source_select == "indexed_filtered"
+ ${reference_gene_sets_source.crr.fields.crr_path}
+ #else if $reference_gene_sets_source.source_select == "history"
+ ${reference_gene_sets_source.crr}
+ #end if
+
+ --output $output
+ #if $include_list.listing == "yes"
+ --variant-listing $include_list.list
+ #end if
+ $longvar
+ --variants
+ #for $v in $file_types.varfiles
+ ${v.input}
+ #end for
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
+
**What it does**
This tool uses the cgatools listvariants to list all called variants present in the var or mastervar files.
@@ -82,50 +99,50 @@
**Command line reference**::
- COMMAND NAME
- listvariants - Lists the variants present in a variant file.
+ COMMAND NAME
+ listvariants - Lists the variants present in a variant file.
- DESCRIPTION
- Lists all called variants present in the specified variant files, in a
- format suitable for processing by the testvariants command. The output is a
- tab-delimited file consisting of the following columns:
-
- variantId Sequential id assigned to each variant.
- chromosome The chromosome of the variant.
- begin 0-based reference offset of the beginning of the variant.
- end 0-based reference offset of the end of the variant.
- varType The varType as extracted from the variant file.
- reference The reference sequence.
- alleleSeq The variant allele sequence as extracted from the variant
- file.
- xRef The xRef as extrated from the variant file.
+ DESCRIPTION
+ Lists all called variants present in the specified variant files, in a
+ format suitable for processing by the testvariants command. The output is a
+ tab-delimited file consisting of the following columns:
+
+ variantId Sequential id assigned to each variant.
+ chromosome The chromosome of the variant.
+ begin 0-based reference offset of the beginning of the variant.
+ end 0-based reference offset of the end of the variant.
+ varType The varType as extracted from the variant file.
+ reference The reference sequence.
+ alleleSeq The variant allele sequence as extracted from the variant
+ file.
+ xRef The xRef as extrated from the variant file.
- OPTIONS
- -h [ --help ]
- Print this help message.
+ OPTIONS
+ -h [ --help ]
+ Print this help message.
- --beta
- This is a beta command. To run this command, you must pass the --beta
- flag.
+ --beta
+ This is a beta command. To run this command, you must pass the --beta
+ flag.
- --reference arg
- The reference crr file.
+ --reference arg
+ The reference crr file.
- --output arg (=STDOUT)
- The output file (may be omitted for stdout).
+ --output arg (=STDOUT)
+ The output file (may be omitted for stdout).
- --variants arg
- The input variant files (may be positional args).
+ --variants arg
+ The input variant files (may be positional args).
- --variant-listing arg
- The output of another listvariants run, to be merged in to produce the
- output of this run.
+ --variant-listing arg
+ The output of another listvariants run, to be merged in to produce the
+ output of this run.
- --list-long-variants
- In addition to listing short variants, list longer variants as well
- (10's of bases) by concatenating nearby calls.
+ --list-long-variants
+ In addition to listing short variants, list longer variants as well
+ (10's of bases) by concatenating nearby calls.
- SUPPORTED FORMAT_VERSION
- 0.3 or later
-
+ SUPPORTED FORMAT_VERSION
+ 0.3 or later
+
diff -r 418343b53afd -r 64017ce705b6 tools/cgatools17/testvariants_v17.xml
--- a/tools/cgatools17/testvariants_v17.xml Tue Nov 10 11:18:20 2015 -0500
+++ b/tools/cgatools17/testvariants_v17.xml Wed Nov 11 03:51:05 2015 -0500
@@ -11,7 +11,7 @@
cgatools testvariants
--beta
--reference
-
+
#if $reference_gene_sets_source.source_select == "indexed_filtered"
${reference_gene_sets_source.crr.fields.crr_path}
#else if $reference_gene_sets_source.source_select == "history"
@@ -30,7 +30,7 @@
-
+