Mercurial > repos > iuc > dada2_plotqualityprofile
comparison dada2_plotQualityProfile.xml @ 11:e7c2674e01fe draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/dada2 commit f65944aa0547c2fbe4b746cf443c85b2a76e9a48
| author | iuc |
|---|---|
| date | Sat, 20 Dec 2025 14:17:50 +0000 |
| parents | 4e469b758915 |
| children |
comparison
equal
deleted
inserted
replaced
| 10:4e469b758915 | 11:e7c2674e01fe |
|---|---|
| 21 ln -s '$batch_cond.paired_cond.reads' forward/'$elid' && | 21 ln -s '$batch_cond.paired_cond.reads' forward/'$elid' && |
| 22 #else | 22 #else |
| 23 ln -s '$batch_cond.paired_cond.reads.forward' forward/'$elid' && | 23 ln -s '$batch_cond.paired_cond.reads.forward' forward/'$elid' && |
| 24 ln -s '$batch_cond.paired_cond.reads.reverse' reverse/'$elid' && | 24 ln -s '$batch_cond.paired_cond.reads.reverse' reverse/'$elid' && |
| 25 #end if | 25 #end if |
| 26 #if $batch_cond.paired_cond.paired_select == "separate" | |
| 27 ln -s '$batch_cond.paired_cond.sdaer' reverse/'$elid' && | |
| 28 #end if | |
| 29 #else | 26 #else |
| 30 #for $read in $batch_cond.paired_cond.reads: | 27 #for $read in $batch_cond.paired_cond.reads: |
| 31 #set elid = re.sub('[^\w\-\.]', '_', str($read.element_identifier)) | 28 #set elid = re.sub('[^\w\-\.]', '_', str($read.element_identifier)) |
| 32 #if $batch_cond.paired_cond.paired_select != "paired" | 29 #if $batch_cond.paired_cond.paired_select != "paired" |
| 33 ln -s '$read' forward/'$elid' && | 30 ln -s '$read' forward/'$elid' && |
| 34 #else | 31 #else |
| 35 ln -s '$read.forward' forward/'$elid' && | 32 ln -s '$read.forward' forward/'$elid' && |
| 36 ln -s '$read.reverse' reverse/'$elid' && | 33 ln -s '$read.reverse' reverse/'$elid' && |
| 37 #end if | 34 #end if |
| 38 #end for | 35 #end for |
| 39 #if $batch_cond.paired_cond.paired_select == "separate" | |
| 40 #for $read in $batch_cond.paired_cond.sdaer: | |
| 41 #set elid = re.sub('[^\w\-\.]', '_', str($read.element_identifier)) | |
| 42 ln -s '$read' reverse/'$elid' && | |
| 43 #end for | |
| 44 #end if | |
| 45 #end if | 36 #end if |
| 46 | 37 |
| 47 Rscript --slave '$dada2_script' | 38 Rscript --slave '$dada2_script' |
| 48 ]]></command> | 39 ]]></command> |
| 49 <configfiles> | 40 <configfiles> |
| 120 </param> | 111 </param> |
| 121 <param name="batch_cond|aggregate" value="FALSE"/> | 112 <param name="batch_cond|aggregate" value="FALSE"/> |
| 122 <output name="output_fwd" value="qualityProfile_fwd.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | 113 <output name="output_fwd" value="qualityProfile_fwd.pdf" ftype="pdf" compare="sim_size" delta="15000"/> |
| 123 <output name="output_rev" value="qualityProfile_rev.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | 114 <output name="output_rev" value="qualityProfile_rev.pdf" ftype="pdf" compare="sim_size" delta="15000"/> |
| 124 </test> | 115 </test> |
| 125 <!-- paired-separate joint, no-aggregate (sim_size because element ids differ) --> | |
| 126 <test expect_num_outputs="2"> | |
| 127 <param name="batch_cond|batch_select" value="joint"/> | |
| 128 <param name="batch_cond|paired_cond|paired_select" value="separate"/> | |
| 129 <param name="batch_cond|paired_cond|reads" value="F3D0_S188_L001_R1_001.fastq.gz,F3D141_S207_L001_R1_001.fastq.gz" ftype="fastqsanger.gz"/> | |
| 130 <param name="batch_cond|paired_cond|sdaer" value="F3D0_S188_L001_R2_001.fastq.gz,F3D141_S207_L001_R2_001.fastq.gz" ftype="fastqsanger.gz"/> | |
| 131 <param name="batch_cond|aggregate" value="FALSE"/> | |
| 132 <output name="output_fwd" value="qualityProfile_fwd.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | |
| 133 <output name="output_rev" value="qualityProfile_fwd.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | |
| 134 </test> | |
| 135 <!-- single, non-batch, aggregate, small sample --> | 116 <!-- single, non-batch, aggregate, small sample --> |
| 136 <test expect_num_outputs="1"> | 117 <test expect_num_outputs="1"> |
| 137 <param name="batch_cond|batch_select" value="joint"/> | 118 <param name="batch_cond|batch_select" value="joint"/> |
| 138 <param name="batch_cond|paired_cond|paired_select" value="single"/> | 119 <param name="batch_cond|paired_cond|paired_select" value="single"/> |
| 139 <param name="batch_cond|paired_cond|reads" value="F3D0_S188_L001_R1_001.fastq.gz,F3D0_S188_L001_R2_001.fastq.gz" ftype="fastqsanger.gz"/> | 120 <param name="batch_cond|paired_cond|reads" value="F3D0_S188_L001_R1_001.fastq.gz,F3D0_S188_L001_R2_001.fastq.gz" ftype="fastqsanger.gz"/> |
| 150 <collection type="paired"> | 131 <collection type="paired"> |
| 151 <element name="forward" value="F3D0_S188_L001_R1_001.fastq.gz" ftype="fastqsanger.gz"/> | 132 <element name="forward" value="F3D0_S188_L001_R1_001.fastq.gz" ftype="fastqsanger.gz"/> |
| 152 <element name="reverse" value="F3D0_S188_L001_R2_001.fastq.gz" ftype="fastqsanger.gz"/> | 133 <element name="reverse" value="F3D0_S188_L001_R2_001.fastq.gz" ftype="fastqsanger.gz"/> |
| 153 </collection> | 134 </collection> |
| 154 </param> | 135 </param> |
| 155 <output name="output_fwd" value="qualityProfile.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | |
| 156 <output name="output_rev" value="qualityProfile.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | |
| 157 </test> | |
| 158 <!-- paired-separate batch (sim_size because element ids differ)--> | |
| 159 <test expect_num_outputs="2"> | |
| 160 <param name="batch_cond|batch_select" value="batch"/> | |
| 161 <param name="batch_cond|paired_cond|paired_select" value="separate"/> | |
| 162 <param name="batch_cond|paired_cond|reads" value="F3D0_S188_L001_R1_001.fastq.gz" ftype="fastqsanger.gz"/> | |
| 163 <param name="batch_cond|paired_cond|sdaer" value="F3D0_S188_L001_R2_001.fastq.gz" ftype="fastqsanger.gz"/> | |
| 164 <output name="output_fwd" value="qualityProfile.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | 136 <output name="output_fwd" value="qualityProfile.pdf" ftype="pdf" compare="sim_size" delta="15000"/> |
| 165 <output name="output_rev" value="qualityProfile.pdf" ftype="pdf" compare="sim_size" delta="15000"/> | 137 <output name="output_rev" value="qualityProfile.pdf" ftype="pdf" compare="sim_size" delta="15000"/> |
| 166 </test> | 138 </test> |
| 167 <!-- single, batch --> | 139 <!-- single, batch --> |
| 168 <test expect_num_outputs="1"> | 140 <test expect_num_outputs="1"> |
