# HG changeset patch # User iuc # Date 1554239945 14400 # Node ID a2147b3769dd2fd9eccd14791ff7e73bcf00364b # Parent 4eb9595bff605fbbf9602543735e9e439ce3934d planemo upload commit f7ba9aa90e952d0639fba2cf6674bb4a7523f308 diff -r 4eb9595bff60 -r a2147b3769dd snippy.xml --- a/snippy.xml Mon Mar 18 10:58:41 2019 -0400 +++ b/snippy.xml Tue Apr 02 17:19:05 2019 -0400 @@ -1,4 +1,4 @@ - + Snippy finds SNPs between a haploid reference genome and your NGS sequence reads. @@ -40,16 +40,13 @@ #if str( $fastq_input.fastq_input_selector ) == "paired" --R1 '$fastq_input.fastq_input1' --R2 '$fastq_input.fastq_input2' - #end if - #if str( $fastq_input.fastq_input_selector ) == "paired_collection" + #elif str( $fastq_input.fastq_input_selector ) == "paired_collection" --R1 '$fastq_input.fastq_input.forward' --R2 '$fastq_input.fastq_input.reverse' - #end if - #if str( $fastq_input.fastq_input_selector ) == "single" - --se '$fastq_input.fastq_input' - #end if - #if str( $fastq_input.fastq_input_selector ) == "paired_iv" - --peil '$fastq_input.fastq_input' + #elif str( $fastq_input.fastq_input_selector ) == "single" + --se '$fastq_input.fastq_input_single' + #elif str( $fastq_input.fastq_input_selector ) == "paired_iv" + --peil '$fastq_input.fastq_input_interleaved' #end if && @@ -59,8 +56,10 @@ #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input1.element_identifier) #elif str( $fastq_input.fastq_input_selector ) == "paired_collection" #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input.name) - #else - #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input.element_identifier) + #elif str( $fastq_input.fastq_input_selector ) == "single" + #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input_single.element_identifier) + #elif str( $fastq_input.fastq_input_selector ) == "paired_iv" + #set $dir_name = re.sub('[^\w_]', '_', $fastq_input.fastq_input_interleaved.element_identifier) #end if mkdir -p ${dir_name} && cp -r out/reference out/snps.tab out/snps.aligned.fa out/snps.vcf ${dir_name}/ && @@ -88,13 +87,13 @@ - + - + @@ -200,6 +199,16 @@ + + + + + + + + + + diff -r 4eb9595bff60 -r a2147b3769dd test-data/b_2_fna_ref_mincov_2_minqual_60.snps.gff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/b_2_fna_ref_mincov_2_minqual_60.snps.gff Tue Apr 02 17:19:05 2019 -0400 @@ -0,0 +1,2 @@ +##gff-version 3 +reference snippy:4.3.6 variation 4 4 . . 0 note=snp A=>T T:5 A:0