# HG changeset patch # User iuc # Date 1542712789 18000 # Node ID 097c44aaf6d4784409e0031af27584eaecde4bda # Parent 80d8ca44f8da6de0279c72412a1b7698d9a416a0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_view commit 640b53919bfc0ae4b895451218e919a52ac14b9d diff -r 80d8ca44f8da -r 097c44aaf6d4 macros.xml --- a/macros.xml Thu Sep 27 08:49:45 2018 -0400 +++ b/macros.xml Tue Nov 20 06:19:49 2018 -0500 @@ -53,11 +53,11 @@ #if $addref_cond.addref_select == "history": ln -s '${addref_cond.ref}' reference.fa && samtools faidx reference.fa && - #set reffa=str($addref_cond.ref) + #set reffa="reference.fa" #set reffai="reference.fa.fai" #elif $addref_cond.addref_select == "cached": #set reffa=str($addref_cond.ref.fields.path) - #set reffai=str($addref_cond.ref.fields.path) + #set reffai=str($addref_cond.ref.fields.path)+".fai" #else #set reffa=None #set reffai=None @@ -67,7 +67,6 @@ ##compute the number of ADDITIONAL threads to be used by samtools (-@) addthreads=\${GALAXY_SLOTS:-1} && (( addthreads-- )) && ]]> - read is a PCR or optical duplicate + + + + + + + + + + + + + + + + ^[^\s'\":]+(:\d+(-\d+){0,1}){0,1}$ + + + + + + + + + diff -r 80d8ca44f8da -r 097c44aaf6d4 samtools_view.xml --- a/samtools_view.xml Thu Sep 27 08:49:45 2018 -0400 +++ b/samtools_view.xml Tue Nov 20 06:19:49 2018 -0500 @@ -41,7 +41,7 @@ ## filter options (regions filter is the last parameter) #if $cond_filter.select_filter == 'yes': #if $cond_filter.cond_region.select_region == 'bed' and str( $cond_filter.cond_region.bedfile ) != 'None' - -L '$cond_filter.bedfile' + -L '$cond_filter.cond_region.bedfile' #end if #if $cond_filter.cond_rg.select_rg == 'text': -r '$cond_filter.cond_rg.readgr' @@ -263,7 +263,7 @@ - + outtype == 'count' @@ -312,6 +312,12 @@ + + + + + + @@ -425,7 +431,7 @@ - + diff -r 80d8ca44f8da -r 097c44aaf6d4 test-data/test_counts.tab --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test_counts.tab Tue Nov 20 06:19:49 2018 -0500 @@ -0,0 +1,1 @@ +10