# HG changeset patch # User iuc # Date 1554240110 14400 # Node ID feb7e635c6afe30a39c26b19ed1cf5777a049038 # Parent 776ebd1239da70448668f25395e9102823273a8e planemo upload commit f7ba9aa90e952d0639fba2cf6674bb4a7523f308 diff -r 776ebd1239da -r feb7e635c6af snippy.xml --- a/snippy.xml Mon Mar 18 10:59:29 2019 -0400 +++ b/snippy.xml Tue Apr 02 17:21:50 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 776ebd1239da -r feb7e635c6af 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:21:50 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