Mercurial > repos > lparsons > cutadapt
comparison cutadapt.xml @ 25:4e5056fefd88 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit cf6548ab28f5f6b2bdce8b1159cfc7ee472f0af6"
author | iuc |
---|---|
date | Fri, 02 Jul 2021 21:20:57 +0000 |
parents | 288f97432497 |
children | 44e2cc14f75b |
comparison
equal
deleted
inserted
replaced
24:288f97432497 | 25:4e5056fefd88 |
---|---|
146 --length=-$read_mod_options.shorten_options.length | 146 --length=-$read_mod_options.shorten_options.length |
147 #end if | 147 #end if |
148 #end if | 148 #end if |
149 #if str($read_mod_options.length_tag) != '': | 149 #if str($read_mod_options.length_tag) != '': |
150 --length-tag='$read_mod_options.length_tag' | 150 --length-tag='$read_mod_options.length_tag' |
151 #end if | |
152 #if str($read_mod_options.cut) != '0': | |
153 --cut=$read_mod_options.cut | |
154 #end if | 151 #end if |
155 #if str($read_mod_options.rename) != '': | 152 #if str($read_mod_options.rename) != '': |
156 --rename='$read_mod_options.rename' | 153 --rename='$read_mod_options.rename' |
157 #end if | 154 #end if |
158 $read_mod_options.zero_cap | 155 $read_mod_options.zero_cap |
235 <param name="R2_minimum" type="integer" min="0" value="" optional="True" label="Minimum length (R2)" /> | 232 <param name="R2_minimum" type="integer" min="0" value="" optional="True" label="Minimum length (R2)" /> |
236 <param name="R2_maximum" type="integer" min="0" value="" optional="True" label="Maximum length (R2)" /> | 233 <param name="R2_maximum" type="integer" min="0" value="" optional="True" label="Maximum length (R2)" /> |
237 </when> | 234 </when> |
238 <when value="False"> | 235 <when value="False"> |
239 </when> | 236 </when> |
240 </conditional> | 237 </conditional> |
241 <param argument="--max-n" type="float" min="0" optional="True" label="Max N" help="Discard reads with more than this number of 'N' bases. A number between 0 and 1 is interpreted as a fraction of the read length." /> | 238 <param argument="--max-n" type="float" min="0" optional="True" label="Max N" help="Discard reads with more than this number of 'N' bases. A number between 0 and 1 is interpreted as a fraction of the read length." /> |
242 <param argument="--pair-filter" type="select" optional="True" label="Pair filter" help="Which of the reads in a paired-end read have to match the filtering criterion in order for the pair to be filtered. Default: any"> | 239 <param argument="--pair-filter" type="select" optional="True" label="Pair filter" help="Which of the reads in a paired-end read have to match the filtering criterion in order for the pair to be filtered. Default: any"> |
243 <option value="any" selected="True">Any: a read pair is discarded (or redirected) if one of the reads (R1 or R2) fulfills the filtering criterion. </option> | 240 <option value="any" selected="True">Any: a read pair is discarded (or redirected) if one of the reads (R1 or R2) fulfills the filtering criterion. </option> |
244 <option value="both">Both: filtering criteria must apply to both reads in order for a read pair to be discarded. </option> | 241 <option value="both">Both: filtering criteria must apply to both reads in order for a read pair to be discarded. </option> |
245 <option value="first">First: will make a decision about the read pair by inspecting whether the filtering criterion applies to the first read, ignoring the second read.</option> | 242 <option value="first">First: will make a decision about the read pair by inspecting whether the filtering criterion applies to the first read, ignoring the second read.</option> |
298 <add value=" " /> | 295 <add value=" " /> |
299 </valid> | 296 </valid> |
300 </sanitizer> | 297 </sanitizer> |
301 <validator type="regex">[A-Za-z0-9 {}=_]+</validator> | 298 <validator type="regex">[A-Za-z0-9 {}=_]+</validator> |
302 </param> | 299 </param> |
303 <param argument="--cut" label="Remove a fixed number of bases" type="integer" value="0" help="This option allows to unconditionally remove bases from the beginning or end of each read. If the given length is positive, the bases are removed from the beginning of each read. If it is negative, the bases are removed from the end." /> | |
304 <param argument="--zero-cap" type="boolean" truevalue="--zero-cap" falsevalue="" checked="False" label="Change negative quality values to zero" /> | 300 <param argument="--zero-cap" type="boolean" truevalue="--zero-cap" falsevalue="" checked="False" label="Change negative quality values to zero" /> |
305 </section> | 301 </section> |
306 | 302 |
307 <!-- Output Options --> | 303 <!-- Output Options --> |
308 <param name="output_selector" type="select" multiple="True" display="checkboxes" label="Outputs selector"> | 304 <param name="output_selector" type="select" multiple="True" display="checkboxes" label="Outputs selector"> |
386 <tests> | 382 <tests> |
387 <!-- Ensure fastq works --> | 383 <!-- Ensure fastq works --> |
388 <test expect_num_outputs="1"> | 384 <test expect_num_outputs="1"> |
389 <param name="type" value="single" /> | 385 <param name="type" value="single" /> |
390 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 386 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
391 <param name="adapter_source_list" value="user"/> | 387 <section name="r1"> |
392 <param name="adapter" value="AGATCGGAAGAGC"/> | 388 <repeat name="adapters"> |
389 <conditional name="adapter_source"> | |
390 <param name="adapter_source_list" value="user"/> | |
391 <param name="adapter" value="AGATCGGAAGAGC"/> | |
392 </conditional> | |
393 </repeat> | |
394 </section> | |
393 <output name="out1" file="cutadapt_small.out" ftype="fastq"/> | 395 <output name="out1" file="cutadapt_small.out" ftype="fastq"/> |
394 </test> | 396 </test> |
395 <!-- Ensure single end fastq.gz works --> | 397 <!-- Ensure single end fastq.gz works --> |
396 <test expect_num_outputs="1"> | 398 <test expect_num_outputs="1"> |
397 <param name="type" value="single" /> | 399 <param name="type" value="single" /> |
398 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> | 400 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> |
399 <param name="adapter_source_list" value="user"/> | 401 <section name="r1"> |
400 <param name="adapter" value="AGATCGGAAGAGC"/> | 402 <repeat name="adapters"> |
403 <conditional name="adapter_source"> | |
404 <param name="adapter_source_list" value="user"/> | |
405 <param name="adapter" value="AGATCGGAAGAGC"/> | |
406 </conditional> | |
407 </repeat> | |
408 </section> | |
401 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/> | 409 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/> |
402 </test> | 410 </test> |
403 <!-- Ensure paired end fastq.gz works --> | 411 <!-- Ensure paired end fastq.gz works --> |
404 <test expect_num_outputs="2"> | 412 <test expect_num_outputs="2"> |
405 <param name="type" value="paired" /> | 413 <param name="type" value="paired" /> |
406 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> | 414 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> |
407 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" /> | 415 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" /> |
408 <param name="adapter_source_list" value="user"/> | 416 <section name="r1"> |
409 <param name="adapter" value="AGATCGGAAGAGC"/> | 417 <repeat name="adapters"> |
410 <param name="adapter_source_list2" value="user"/> | 418 <conditional name="adapter_source"> |
411 <param name="adapter2" value="AGATCGGAAGAGC"/> | 419 <param name="adapter_source_list" value="user"/> |
420 <param name="adapter" value="AGATCGGAAGAGC"/> | |
421 </conditional> | |
422 </repeat> | |
423 </section> | |
424 <section name="r2"> | |
425 <repeat name="adapters2"> | |
426 <conditional name="adapter_source2"> | |
427 <param name="adapter_source_list2" value="user"/> | |
428 <param name="adapter2" value="AGATCGGAAGAGC"/> | |
429 </conditional> | |
430 </repeat> | |
431 </section> | |
412 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/> | 432 <output name="out1" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz"/> |
413 <output name="out2" decompress="True" file="cutadapt_out2.fq.gz" ftype="fastq.gz"/> | 433 <output name="out2" decompress="True" file="cutadapt_out2.fq.gz" ftype="fastq.gz"/> |
414 <assert_command> | 434 <assert_command> |
415 <not_has_text text="--discard-trimmed"/> | 435 <not_has_text text="--discard-trimmed"/> |
416 <not_has_text text="--discard-untrimmed"/> | 436 <not_has_text text="--discard-untrimmed"/> |
427 <collection type="paired"> | 447 <collection type="paired"> |
428 <element name="forward" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> | 448 <element name="forward" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> |
429 <element name="reverse" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" /> | 449 <element name="reverse" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" /> |
430 </collection> | 450 </collection> |
431 </param> | 451 </param> |
432 <param name="adapter_source_list" value="user"/> | 452 <section name="r1"> |
433 <param name="adapter" value="AGATCGGAAGAGC"/> | 453 <repeat name="adapters"> |
434 <param name="adapter_source_list2" value="user"/> | 454 <conditional name="adapter_source"> |
435 <param name="adapter2" value="AGATCGGAAGAGC"/> | 455 <param name="adapter_source_list" value="user"/> |
456 <param name="adapter" value="AGATCGGAAGAGC"/> | |
457 </conditional> | |
458 </repeat> | |
459 </section> | |
460 <section name="r2"> | |
461 <repeat name="adapters2"> | |
462 <conditional name="adapter_source2"> | |
463 <param name="adapter_source_list2" value="user"/> | |
464 <param name="adapter2" value="AGATCGGAAGAGC"/> | |
465 </conditional> | |
466 </repeat> | |
467 </section> | |
436 <output_collection name="out_pairs" type="paired"> | 468 <output_collection name="out_pairs" type="paired"> |
437 <element name="forward" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz" /> | 469 <element name="forward" decompress="True" file="cutadapt_out1.fq.gz" ftype="fastq.gz" /> |
438 <element name="reverse" decompress="True" file="cutadapt_out2.fq.gz" ftype="fastq.gz" /> | 470 <element name="reverse" decompress="True" file="cutadapt_out2.fq.gz" ftype="fastq.gz" /> |
439 </output_collection> | 471 </output_collection> |
440 </test> | 472 </test> |
441 <!-- Ensure built-in adapters work --> | 473 <!-- Ensure built-in adapters work --> |
442 <test expect_num_outputs="1"> | 474 <test expect_num_outputs="1"> |
443 <param name="type" value="single" /> | 475 <param name="type" value="single" /> |
444 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 476 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
445 <param name="adapter_source_list" value="builtin"/> | 477 <section name="r1"> |
446 <param name="adapter" value="TGTAGGCC"/> | 478 <repeat name="adapters"> |
479 <conditional name="adapter_source"> | |
480 <param name="adapter_source_list" value="builtin"/> | |
481 <param name="adapter" value="TGTAGGCC"/> | |
482 </conditional> | |
483 </repeat> | |
484 </section> | |
447 <output name="out1" file="cutadapt_builtin.out" ftype="fastq"/> | 485 <output name="out1" file="cutadapt_builtin.out" ftype="fastq"/> |
448 </test> | 486 </test> |
449 <!-- Ensure discard file output works --> | 487 <!-- Ensure discard file output works --> |
450 <test expect_num_outputs="1"> | 488 <test expect_num_outputs="1"> |
451 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 489 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
452 <param name="adapter_source_list" value="user"/> | 490 <section name="r1"> |
453 <param name="adapter" value="TTAGACATATCTCCGTCG"/> | 491 <repeat name="adapters"> |
492 <conditional name="adapter_source"> | |
493 <param name="adapter_source_list" value="user"/> | |
494 <param name="adapter" value="TTAGACATATCTCCGTCG"/> | |
495 </conditional> | |
496 </repeat> | |
497 </section> | |
454 <param name="output_filtering" value="filter"/> | 498 <param name="output_filtering" value="filter"/> |
455 <section name="filter_options"> | 499 <section name="filter_options"> |
456 <param name="discard_trimmed" value="True"/> | 500 <param name="discard_trimmed" value="True"/> |
457 </section> | 501 </section> |
458 <param name="read_modification" value="none"/> | 502 <param name="read_modification" value="none"/> |
462 </assert_command> | 506 </assert_command> |
463 </test> | 507 </test> |
464 <!-- Ensure rest file output works --> | 508 <!-- Ensure rest file output works --> |
465 <test expect_num_outputs="2"> | 509 <test expect_num_outputs="2"> |
466 <param name="input_1" ftype="fasta" value="cutadapt_rest.fa" /> | 510 <param name="input_1" ftype="fasta" value="cutadapt_rest.fa" /> |
467 <param name="adapter_source_list" value="user"/> | 511 <section name="r1"> |
468 <param name="adapter" value="AAAGATG"/> | 512 <repeat name="adapters"> |
513 <conditional name="adapter_source"> | |
514 <param name="adapter_source_list" value="user"/> | |
515 <param name="adapter" value="AAAGATG"/> | |
516 </conditional> | |
517 </repeat> | |
518 </section> | |
469 <param name="output_filtering" value="default"/> | 519 <param name="output_filtering" value="default"/> |
470 <param name="read_modification" value="none"/> | 520 <param name="read_modification" value="none"/> |
471 <param name="output_selector" value="rest_file"/> | 521 <param name="output_selector" value="rest_file"/> |
472 <output name="out1" file="cutadapt_rest.out" ftype="fasta"/> | 522 <output name="out1" file="cutadapt_rest.out" ftype="fasta"/> |
473 <output name="rest_output" file="cutadapt_rest2.out" ftype="fasta"/> | 523 <output name="rest_output" file="cutadapt_rest2.out" ftype="fasta"/> |
474 </test> | 524 </test> |
475 <!-- Ensure nextseq-trim option works --> | 525 <!-- Ensure nextseq-trim option works --> |
476 <test expect_num_outputs="1"> | 526 <test expect_num_outputs="1"> |
477 <param name="type" value="single" /> | 527 <param name="type" value="single" /> |
478 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> | 528 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> |
479 <param name="adapter_source_list" value="user"/> | 529 <section name="r1"> |
480 <param name="adapter" value="AGATCGGAAGAGC"/> | 530 <repeat name="adapters"> |
531 <conditional name="adapter_source"> | |
532 <param name="adapter_source_list" value="user"/> | |
533 <param name="adapter" value="AGATCGGAAGAGC"/> | |
534 </conditional> | |
535 </repeat> | |
536 </section> | |
481 <param name="read_modification" value="modify"/> | 537 <param name="read_modification" value="modify"/> |
482 <param name="nextseq_trim" value="20" /> | 538 <param name="nextseq_trim" value="20" /> |
483 <output name="out1" decompress="True" file="cutadapt_nextseq_out.fq.gz" ftype="fastq.gz"/> | 539 <output name="out1" decompress="True" file="cutadapt_nextseq_out.fq.gz" ftype="fastq.gz"/> |
484 </test> | 540 </test> |
485 <!-- Ensure Report and Info file output work --> | 541 <!-- Ensure Report and Info file output work --> |
486 <test expect_num_outputs="3"> | 542 <test expect_num_outputs="3"> |
487 <param name="type" value="single" /> | 543 <param name="type" value="single" /> |
488 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 544 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
489 <param name="adapter_source_list" value="user"/> | 545 <section name="r1"> |
490 <param name="adapter" value="AGATCGGAAGAGC"/> | 546 <repeat name="adapters"> |
547 <conditional name="adapter_source"> | |
548 <param name="adapter_source_list" value="user"/> | |
549 <param name="adapter" value="AGATCGGAAGAGC"/> | |
550 </conditional> | |
551 </repeat> | |
552 </section> | |
491 <param name="output_selector" value="report,info_file" /> | 553 <param name="output_selector" value="report,info_file" /> |
492 <output name="out1" value="cutadapt_small.out" ftype="fastq"/> | 554 <output name="out1" value="cutadapt_small.out" ftype="fastq"/> |
493 <output name="report"> | 555 <output name="report"> |
494 <assert_contents> | 556 <assert_contents> |
495 <has_text text="Summary"/> | 557 <has_text text="Summary"/> |
557 | 619 |
558 <!-- Ensure untrimmed file output works --> | 620 <!-- Ensure untrimmed file output works --> |
559 <test expect_num_outputs="2"> | 621 <test expect_num_outputs="2"> |
560 <param name="type" value="single" /> | 622 <param name="type" value="single" /> |
561 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 623 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
562 <param name="adapter_source_list" value="user"/> | 624 <section name="r1"> |
563 <param name="adapter" value="AAAT"/> | 625 <repeat name="adapters"> |
626 <conditional name="adapter_source"> | |
627 <param name="adapter_source_list" value="user"/> | |
628 <param name="adapter" value="AAAT"/> | |
629 </conditional> | |
630 </repeat> | |
631 </section> | |
564 <param name="output_selector" value="untrimmed_file" /> | 632 <param name="output_selector" value="untrimmed_file" /> |
565 <output name="out1" file="cutadapt_trimmed.out" ftype="fastq"/> | 633 <output name="out1" file="cutadapt_trimmed.out" ftype="fastq"/> |
566 <output name="untrimmed_output" file="cutadapt_untrimmed.out" ftype="fastq"/> | 634 <output name="untrimmed_output" file="cutadapt_untrimmed.out" ftype="fastq"/> |
567 </test> | 635 </test> |
568 <!-- Ensure untrimmed gzip file output works --> | 636 <!-- Ensure untrimmed gzip file output works --> |
569 <test expect_num_outputs="2"> | 637 <test expect_num_outputs="2"> |
570 <param name="type" value="single" /> | 638 <param name="type" value="single" /> |
571 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> | 639 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> |
572 <param name="adapter_source_list" value="user"/> | 640 <section name="r1"> |
573 <param name="adapter" value="AGATCGGAAGAGC"/> | 641 <repeat name="adapters"> |
642 <conditional name="adapter_source"> | |
643 <param name="adapter_source_list" value="user"/> | |
644 <param name="adapter" value="AGATCGGAAGAGC"/> | |
645 </conditional> | |
646 </repeat> | |
647 </section> | |
574 <param name="output_selector" value="untrimmed_file" /> | 648 <param name="output_selector" value="untrimmed_file" /> |
575 <output name="out1" decompress="True" file="cutadapt_trimmed.out.gz" ftype="fastq.gz"/> | 649 <output name="out1" decompress="True" file="cutadapt_trimmed.out.gz" ftype="fastq.gz"/> |
576 <!-- | 650 <!-- |
577 Do not use the decompress option for this assertion, since it does NOT test that the file is compressed | 651 Do not use the decompress option for this assertion, since it does NOT test that the file is compressed |
578 See discussion at https://github.com/galaxyproject/galaxy/issues/7671 | 652 See discussion at https://github.com/galaxyproject/galaxy/issues/7671 |
579 `delta="4000" is more than the difference between gzip level 1 and gzip level 9, but much less than the | 653 `delta="4000" is more than the difference between gzip level 1 and gzip level 9, but much less than the |
580 difference between level 1 compression and no compression | 654 difference between level 1 compression and no compression |
581 --> | 655 --> |
584 <!-- same as 1st test with paired data + filter options (because of discard_untrimmed no comparison is done) --> | 658 <!-- same as 1st test with paired data + filter options (because of discard_untrimmed no comparison is done) --> |
585 <test expect_num_outputs="2"> | 659 <test expect_num_outputs="2"> |
586 <param name="type" value="paired" /> | 660 <param name="type" value="paired" /> |
587 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> | 661 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1.fq.gz" /> |
588 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" /> | 662 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2.fq.gz" /> |
589 <param name="adapter_source_list" value="user"/> | 663 <section name="r1"> |
590 <param name="adapter" value="AGATCGGAAGAGC"/> | 664 <repeat name="adapters"> |
591 <param name="adapter_source_list2" value="user"/> | 665 <conditional name="adapter_source"> |
592 <param name="adapter2" value="AGATCGGAAGAGC"/> | 666 <param name="adapter_source_list" value="user"/> |
667 <param name="adapter" value="AGATCGGAAGAGC"/> | |
668 </conditional> | |
669 </repeat> | |
670 </section> | |
671 <section name="r2"> | |
672 <repeat name="adapters"> | |
673 <conditional name="adapter_source"> | |
674 <param name="adapter_source_list2" value="user"/> | |
675 <param name="adapter2" value="AGATCGGAAGAGC"/> | |
676 </conditional> | |
677 </repeat> | |
678 </section> | |
593 <section name="filter_options"> | 679 <section name="filter_options"> |
594 <param name="discard_untrimmed" value="true"/> | 680 <param name="discard_untrimmed" value="true"/> |
595 <param name="minimun_length" value="1"/> | 681 <param name="minimun_length" value="1"/> |
596 <param name="maximum_length" value="1000"/> | 682 <param name="maximum_length" value="1000"/> |
597 <param name="max_n" value="0"/> | 683 <param name="max_n" value="0"/> |
606 </test> | 692 </test> |
607 <!-- Test cut option --> | 693 <!-- Test cut option --> |
608 <test expect_num_outputs="1"> | 694 <test expect_num_outputs="1"> |
609 <param name="type" value="single" /> | 695 <param name="type" value="single" /> |
610 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 696 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
611 <param name="adapter_source_list" value="user"/> | 697 <section name="r1"> |
612 <param name="adapter" value="AGATCGGAAGAGC"/> | 698 <repeat name="adapters"> |
613 <section name="read_mod_options"> | 699 <conditional name="adapter_source"> |
700 <param name="adapter_source_list" value="user"/> | |
701 <param name="adapter" value="AGATCGGAAGAGC"/> | |
702 </conditional> | |
703 </repeat> | |
614 <param name="cut" value="5"/> | 704 <param name="cut" value="5"/> |
615 </section> | 705 </section> |
616 <output name="out1" file="cutadapt_small_cut.out" ftype="fastq"/> | 706 <output name="out1" file="cutadapt_small_cut.out" ftype="fastq"/> |
617 </test> | 707 </test> |
618 <!-- Test rename options --> | 708 <!-- Test rename options --> |
619 <test expect_num_outputs="1"> | 709 <test expect_num_outputs="1"> |
620 <param name="type" value="single" /> | 710 <param name="type" value="single" /> |
621 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 711 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
622 <param name="adapter_source_list" value="user"/> | 712 <section name="r1"> |
623 <param name="adapter" value="AGATCGGAAGAGC"/> | 713 <repeat name="adapters"> |
714 <conditional name="adapter_source"> | |
715 <param name="adapter_source_list" value="user"/> | |
716 <param name="adapter" value="AGATCGGAAGAGC"/> | |
717 </conditional> | |
718 </repeat> | |
719 <param name="cut" value="5"/> | |
720 </section> | |
624 <section name="read_mod_options"> | 721 <section name="read_mod_options"> |
625 <param name="cut" value="5"/> | |
626 <param name="rename" value="{id} barcode={cut_prefix}"/> | 722 <param name="rename" value="{id} barcode={cut_prefix}"/> |
627 </section> | 723 </section> |
628 <output name="out1" file="cutadapt_small_rename.out" ftype="fastq"> | 724 <output name="out1" file="cutadapt_small_rename.out" ftype="fastq"> |
629 <assert_contents> | 725 <assert_contents> |
630 <has_text text="@prefix:1_13_1259/1 barcode=AGCCG"/> | 726 <has_text text="@prefix:1_13_1259/1 barcode=AGCCG"/> |
633 </test> | 729 </test> |
634 <!-- Test action options --> | 730 <!-- Test action options --> |
635 <test expect_num_outputs="1"> | 731 <test expect_num_outputs="1"> |
636 <param name="type" value="single" /> | 732 <param name="type" value="single" /> |
637 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 733 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
638 <param name="adapter_source_list" value="user"/> | 734 <section name="r1"> |
639 <param name="adapter" value="CGTCCGAANTAG"/> | 735 <repeat name="adapters"> |
736 <conditional name="adapter_source"> | |
737 <param name="adapter_source_list" value="user"/> | |
738 <param name="adapter" value="CGTCCGAANTAG"/> | |
739 </conditional> | |
740 </repeat> | |
741 </section> | |
640 <section name="adapter_options"> | 742 <section name="adapter_options"> |
641 <param name="action" value="retain"/> | 743 <param name="action" value="retain"/> |
642 </section> | 744 </section> |
643 <output name="out1" file="cutadapt_action_retain.out" ftype="fastq"/> | 745 <output name="out1" file="cutadapt_action_retain.out" ftype="fastq"/> |
644 </test> | 746 </test> |
645 <test expect_num_outputs="1"> | 747 <test expect_num_outputs="1"> |
646 <param name="type" value="single" /> | 748 <param name="type" value="single" /> |
647 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 749 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
648 <param name="adapter_source_list" value="user"/> | 750 <section name="r1"> |
649 <param name="adapter" value="CGTCCGAANTAG"/> | 751 <repeat name="adapters"> |
752 <conditional name="adapter_source"> | |
753 <param name="adapter_source_list" value="user"/> | |
754 <param name="adapter" value="CGTCCGAANTAG"/> | |
755 </conditional> | |
756 </repeat> | |
757 </section> | |
650 <section name="adapter_options"> | 758 <section name="adapter_options"> |
651 <param name="action" value="mask"/> | 759 <param name="action" value="mask"/> |
652 </section> | 760 </section> |
653 <output name="out1" file="cutadapt_action_mask.out" ftype="fastq"/> | 761 <output name="out1" file="cutadapt_action_mask.out" ftype="fastq"/> |
654 </test> | 762 </test> |
655 <test expect_num_outputs="1"> | 763 <test expect_num_outputs="1"> |
656 <param name="type" value="single" /> | 764 <param name="type" value="single" /> |
657 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 765 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
658 <param name="adapter_source_list" value="user"/> | 766 <section name="r1"> |
659 <param name="adapter" value="CGTCCGAANTAG"/> | 767 <repeat name="adapters"> |
768 <conditional name="adapter_source"> | |
769 <param name="adapter_source_list" value="user"/> | |
770 <param name="adapter" value="CGTCCGAANTAG"/> | |
771 </conditional> | |
772 </repeat> | |
773 </section> | |
660 <section name="adapter_options"> | 774 <section name="adapter_options"> |
661 <param name="action" value="lowercase"/> | 775 <param name="action" value="lowercase"/> |
662 </section> | 776 </section> |
663 <output name="out1" file="cutadapt_action_lowercase.out" ftype="fastq"/> | 777 <output name="out1" file="cutadapt_action_lowercase.out" ftype="fastq"/> |
664 </test> | 778 </test> |
665 <test expect_num_outputs="1"> | 779 <test expect_num_outputs="1"> |
666 <param name="type" value="single" /> | 780 <param name="type" value="single" /> |
667 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 781 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
668 <param name="adapter_source_list" value="user"/> | 782 <section name="r1"> |
669 <param name="adapter" value="CGTCCGAANTAG"/> | 783 <repeat name="adapters"> |
784 <conditional name="adapter_source"> | |
785 <param name="adapter_source_list" value="user"/> | |
786 <param name="adapter" value="CGTCCGAANTAG"/> | |
787 </conditional> | |
788 </repeat> | |
789 </section> | |
670 <section name="adapter_options"> | 790 <section name="adapter_options"> |
671 <param name="action" value="none"/> | 791 <param name="action" value="none"/> |
672 </section> | 792 </section> |
673 <output name="out1" file="cutadapt_action_none.out" ftype="fastq"/> | 793 <output name="out1" file="cutadapt_action_none.out" ftype="fastq"/> |
674 </test> | 794 </test> |
675 <!-- Test revcomp options --> | 795 <!-- Test revcomp options --> |
676 <test expect_num_outputs="1"> | 796 <test expect_num_outputs="1"> |
677 <param name="type" value="single" /> | 797 <param name="type" value="single" /> |
678 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 798 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
679 <param name="adapter_source_list" value="user"/> | 799 <section name="r1"> |
680 <param name="adapter" value="TAAACAGATTAGT"/> | 800 <repeat name="adapters"> |
801 <conditional name="adapter_source"> | |
802 <param name="adapter_source_list" value="user"/> | |
803 <param name="adapter" value="TAAACAGATTAGT"/> | |
804 </conditional> | |
805 </repeat> | |
806 </section> | |
681 <section name="adapter_options"> | 807 <section name="adapter_options"> |
682 <param name="revcomp" value="true"/> | 808 <param name="revcomp" value="true"/> |
683 </section> | 809 </section> |
684 <output name="out1" file="cutadapt_revcomp.out" ftype="fastq"/> | 810 <output name="out1" file="cutadapt_revcomp.out" ftype="fastq"/> |
685 </test> | 811 </test> |
686 <!-- Test minimum lenghth paired-reads --> | 812 <!-- Test minimum lenghth paired-reads --> |
687 <test expect_num_outputs="2"> | 813 <test expect_num_outputs="2"> |
688 <param name="type" value="paired" /> | 814 <param name="type" value="paired" /> |
689 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> | 815 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> |
690 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> | 816 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> |
691 <param name="adapter_source_list" value="user"/> | 817 <section name="r1"> |
692 <param name="adapter" value="ATCTGGTTCC"/> | 818 <repeat name="adapters"> |
693 <param name="adapter_source_list2" value="user"/> | 819 <conditional name="adapter_source"> |
694 <param name="adapter2" value="CTACAAG"/> | 820 <param name="adapter_source_list" value="user"/> |
821 <param name="adapter" value="ATCTGGTTCC"/> | |
822 </conditional> | |
823 </repeat> | |
824 </section> | |
825 <section name="r2"> | |
826 <repeat name="adapters2"> | |
827 <conditional name="adapter_source2"> | |
828 <param name="adapter_source_list2" value="user"/> | |
829 <param name="adapter2" value="CTACAAG"/> | |
830 </conditional> | |
831 </repeat> | |
832 </section> | |
695 <section name="filter_options"> | 833 <section name="filter_options"> |
696 <param name="minimum_length" value="30"/> | 834 <param name="minimum_length" value="30"/> |
697 <param name="pair_filter" value="both"/> | 835 <param name="pair_filter" value="both"/> |
698 <conditional name="length_R2_options"> | 836 <conditional name="length_R2_options"> |
699 <param name="length_R2_status" value="True"/> | 837 <param name="length_R2_status" value="True"/> |
710 <!-- Test maximum lenghth paired-reads --> | 848 <!-- Test maximum lenghth paired-reads --> |
711 <test expect_num_outputs="2"> | 849 <test expect_num_outputs="2"> |
712 <param name="type" value="paired" /> | 850 <param name="type" value="paired" /> |
713 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> | 851 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> |
714 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> | 852 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> |
715 <param name="adapter_source_list" value="user"/> | 853 <section name="r1"> |
716 <param name="adapter" value="AGATCGGAAGAGC"/> | 854 <repeat name="adapters"> |
717 <param name="adapter_source_list2" value="user"/> | 855 <conditional name="adapter_source"> |
718 <param name="adapter2" value="AGATCGGAAGAGC"/> | 856 <param name="adapter_source_list" value="user"/> |
857 <param name="adapter" value="AGATCGGAAGAGC"/> | |
858 </conditional> | |
859 </repeat> | |
860 </section> | |
861 <section name="r2"> | |
862 <repeat name="adapters2"> | |
863 <conditional name="adapter_source2"> | |
864 <param name="adapter_source_list2" value="user"/> | |
865 <param name="adapter2" value="AGATCGGAAGAGC"/> | |
866 </conditional> | |
867 </repeat> | |
868 </section> | |
719 <section name="filter_options"> | 869 <section name="filter_options"> |
720 <param name="pair_filter" value="both"/> | 870 <param name="pair_filter" value="both"/> |
721 <param name="maximum_length" value="50"/> | 871 <param name="maximum_length" value="50"/> |
722 <conditional name="length_R2_options"> | 872 <conditional name="length_R2_options"> |
723 <param name="length_R2_status" value="True"/> | 873 <param name="length_R2_status" value="True"/> |
734 <!-- Test combination maximum and minimum length paired reads --> | 884 <!-- Test combination maximum and minimum length paired reads --> |
735 <test expect_num_outputs="2"> | 885 <test expect_num_outputs="2"> |
736 <param name="type" value="paired" /> | 886 <param name="type" value="paired" /> |
737 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> | 887 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> |
738 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> | 888 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> |
739 <param name="adapter_source_list" value="user"/> | 889 <section name="r1"> |
740 <param name="adapter" value="AGATCGGAAGAGC"/> | 890 <repeat name="adapters"> |
741 <param name="adapter_source_list2" value="user"/> | 891 <conditional name="adapter_source"> |
742 <param name="adapter2" value="AGATCGGAAGAGC"/> | 892 <param name="adapter_source_list" value="user"/> |
893 <param name="adapter" value="AGATCGGAAGAGC"/> | |
894 </conditional> | |
895 </repeat> | |
896 </section> | |
897 <section name="r2"> | |
898 <repeat name="adapters2"> | |
899 <conditional name="adapter_source2"> | |
900 <param name="adapter_source_list2" value="user"/> | |
901 <param name="adapter2" value="AGATCGGAAGAGC"/> | |
902 </conditional> | |
903 </repeat> | |
904 </section> | |
743 <section name="filter_options"> | 905 <section name="filter_options"> |
744 <param name="pair_filter" value="both"/> | 906 <param name="pair_filter" value="both"/> |
745 <param name="minimum_length" value="10"/> | 907 <param name="minimum_length" value="10"/> |
746 <param name="maximum_length" value="50"/> | 908 <param name="maximum_length" value="50"/> |
747 <conditional name="length_R2_options"> | 909 <conditional name="length_R2_options"> |
759 </test> | 921 </test> |
760 <test expect_num_outputs="2"> | 922 <test expect_num_outputs="2"> |
761 <param name="type" value="paired" /> | 923 <param name="type" value="paired" /> |
762 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> | 924 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> |
763 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> | 925 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> |
764 <param name="adapter_source_list" value="user"/> | 926 <section name="r1"> |
765 <param name="adapter" value="AGATCGGAAGAGC"/> | 927 <repeat name="adapters"> |
766 <param name="adapter_source_list2" value="user"/> | 928 <conditional name="adapter_source"> |
767 <param name="adapter2" value="AGATCGGAAGAGC"/> | 929 <param name="adapter_source_list" value="user"/> |
930 <param name="adapter" value="AGATCGGAAGAGC"/> | |
931 </conditional> | |
932 </repeat> | |
933 </section> | |
934 <section name="r2"> | |
935 <repeat name="adapters2"> | |
936 <conditional name="adapter_source2"> | |
937 <param name="adapter_source_list2" value="user"/> | |
938 <param name="adapter2" value="AGATCGGAAGAGC"/> | |
939 </conditional> | |
940 </repeat> | |
941 </section> | |
768 <section name="filter_options"> | 942 <section name="filter_options"> |
769 <param name="pair_filter" value="both"/> | 943 <param name="pair_filter" value="both"/> |
770 <param name="minimum_length" value="10"/> | 944 <param name="minimum_length" value="10"/> |
771 <param name="maximum_length" value="50"/> | 945 <param name="maximum_length" value="50"/> |
772 <conditional name="length_R2_options"> | 946 <conditional name="length_R2_options"> |
784 </test> | 958 </test> |
785 <!-- Test length options --> | 959 <!-- Test length options --> |
786 <test expect_num_outputs="1"> | 960 <test expect_num_outputs="1"> |
787 <param name="type" value="single" /> | 961 <param name="type" value="single" /> |
788 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 962 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
789 <param name="adapter_source_list" value="user"/> | 963 <section name="r1"> |
790 <param name="adapter" value="AGCCGCTANGACG"/> | 964 <repeat name="adapters"> |
965 <conditional name="adapter_source"> | |
966 <param name="adapter_source_list" value="user"/> | |
967 <param name="adapter" value="AGCCGCTANGACG"/> | |
968 </conditional> | |
969 </repeat> | |
970 </section> | |
791 <section name="read_mod_options"> | 971 <section name="read_mod_options"> |
792 <conditional name="shorten_options"> | 972 <conditional name="shorten_options"> |
793 <param name="shorten_values" value="True"/> | 973 <param name="shorten_values" value="True"/> |
794 <param name="shorten_end" value="3prime"/> | 974 <param name="shorten_end" value="3prime"/> |
795 <param name="length" value="10"/> | 975 <param name="length" value="10"/> |
798 <output name="out1" file="cutadapt_shorten_3prime.out" ftype="fastq"/> | 978 <output name="out1" file="cutadapt_shorten_3prime.out" ftype="fastq"/> |
799 </test> | 979 </test> |
800 <test expect_num_outputs="1"> | 980 <test expect_num_outputs="1"> |
801 <param name="type" value="single" /> | 981 <param name="type" value="single" /> |
802 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 982 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
803 <param name="adapter_source_list" value="user"/> | 983 <section name="r1"> |
804 <param name="adapter" value="AGCCGCTANGACG"/> | 984 <repeat name="adapters"> |
985 <conditional name="adapter_source"> | |
986 <param name="adapter_source_list" value="user"/> | |
987 <param name="adapter" value="AGCCGCTANGACG"/> | |
988 </conditional> | |
989 </repeat> | |
990 </section> | |
805 <section name="read_mod_options"> | 991 <section name="read_mod_options"> |
806 <conditional name="shorten_options"> | 992 <conditional name="shorten_options"> |
807 <param name="shorten_values" value="True"/> | 993 <param name="shorten_values" value="True"/> |
808 <param name="shorten_end" value="5prime"/> | 994 <param name="shorten_end" value="5prime"/> |
809 <param name="length" value="10"/> | 995 <param name="length" value="10"/> |
813 </test> | 999 </test> |
814 <!-- Test max expected errors options --> | 1000 <!-- Test max expected errors options --> |
815 <test expect_num_outputs="1"> | 1001 <test expect_num_outputs="1"> |
816 <param name="type" value="single" /> | 1002 <param name="type" value="single" /> |
817 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 1003 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
818 <param name="adapter_source_list" value="user"/> | 1004 <section name="r1"> |
819 <param name="adapter" value="AGCGGCTTAGACG"/> | 1005 <repeat name="adapters"> |
1006 <conditional name="adapter_source"> | |
1007 <param name="adapter_source_list" value="user"/> | |
1008 <param name="adapter" value="AGCGGCTTAGACG"/> | |
1009 </conditional> | |
1010 </repeat> | |
1011 </section> | |
820 <section name="filter_options"> | 1012 <section name="filter_options"> |
821 <param name="max_expected_errors" value="10"/> | 1013 <param name="max_expected_errors" value="10"/> |
822 </section> | 1014 </section> |
823 <output name="out1" file="cutadapt_shorten_expected_errors.out" ftype="fastq"/> | 1015 <output name="out1" file="cutadapt_shorten_expected_errors.out" ftype="fastq"/> |
824 </test> | 1016 </test> |
825 <!-- Test disallow internal adaptors option --> | 1017 <!-- Test disallow internal adaptors option --> |
826 <test expect_num_outputs="1"> | 1018 <test expect_num_outputs="1"> |
827 <param name="type" value="single" /> | 1019 <param name="type" value="single" /> |
828 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 1020 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
829 <param name="adapter_source_list" value="user"/> | 1021 <section name="r1"> |
830 <param name="adapter" value="GAANTAGCTACCAC"/> | 1022 <repeat name="adapters"> |
1023 <conditional name="adapter_source"> | |
1024 <param name="adapter_source_list" value="user"/> | |
1025 <param name="adapter" value="GAANTAGCTACCAC"/> | |
1026 </conditional> | |
1027 </repeat> | |
1028 </section> | |
831 <section name="adapter_options"> | 1029 <section name="adapter_options"> |
832 <param name="internal" value="X"/> | 1030 <param name="internal" value="X"/> |
833 </section> | 1031 </section> |
834 <output name="out1" file="cutadapt_shorten_internal_adapters.out" ftype="fastq"/> | 1032 <output name="out1" file="cutadapt_shorten_internal_adapters.out" ftype="fastq"/> |
835 <assert_command> | 1033 <assert_command> |
838 </test> | 1036 </test> |
839 <test expect_num_outputs="2"> | 1037 <test expect_num_outputs="2"> |
840 <param name="type" value="paired" /> | 1038 <param name="type" value="paired" /> |
841 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> | 1039 <param name="input_1" ftype="fastq.gz" value="bwa-mem-fastq1_assimetric.fq.gz" /> |
842 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> | 1040 <param name="input_2" ftype="fastq.gz" value="bwa-mem-fastq2_assimetric.fq.gz" /> |
843 <param name="adapter_source_list" value="user"/> | 1041 <section name="r1"> |
844 <param name="adapter" value="AGATCGGAAGAGC"/> | 1042 <repeat name="adapters"> |
845 <param name="adapter_source_list2" value="user"/> | 1043 <conditional name="adapter_source"> |
846 <param name="adapter2" value="AGATCGGAAGAGC"/> | 1044 <param name="adapter_source_list" value="user"/> |
1045 <param name="adapter" value="AGATCGGAAGAGC"/> | |
1046 </conditional> | |
1047 </repeat> | |
1048 </section> | |
1049 <section name="r2"> | |
1050 <repeat name="adapters2"> | |
1051 <conditional name="adapter_source2"> | |
1052 <param name="adapter_source_list2" value="user"/> | |
1053 <param name="adapter2" value="AGATCGGAAGAGC"/> | |
1054 </conditional> | |
1055 </repeat> | |
1056 </section> | |
847 <section name="adapter_options"> | 1057 <section name="adapter_options"> |
848 <param name="internal" value="X"/> | 1058 <param name="internal" value="X"/> |
849 </section> | 1059 </section> |
850 <output name="out1" decompress="True" file="cutadapt_out1_internal_adapter.fq.gz" ftype="fastq.gz"/> | 1060 <output name="out1" decompress="True" file="cutadapt_out1_internal_adapter.fq.gz" ftype="fastq.gz"/> |
851 <output name="out2" decompress="True" file="cutadapt_out2_internal_adapter.fq.gz" ftype="fastq.gz"/> | 1061 <output name="out2" decompress="True" file="cutadapt_out2_internal_adapter.fq.gz" ftype="fastq.gz"/> |
854 </assert_command> | 1064 </assert_command> |
855 </test> | 1065 </test> |
856 <test expect_num_outputs="1"> | 1066 <test expect_num_outputs="1"> |
857 <param name="type" value="single" /> | 1067 <param name="type" value="single" /> |
858 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> | 1068 <param name="input_1" ftype="fastq" value="cutadapt_small.fastq" /> |
859 <param name="adapter_source_list" value="builtin"/> | 1069 <section name="r1"> |
860 <param name="adapter" value="TGTAGGCC"/> | 1070 <repeat name="adapters"> |
1071 <conditional name="adapter_source"> | |
1072 <param name="adapter_source_list" value="builtin"/> | |
1073 <param name="adapter" value="TGTAGGCC"/> | |
1074 </conditional> | |
1075 </repeat> | |
1076 </section> | |
861 <section name="adapter_options"> | 1077 <section name="adapter_options"> |
862 <param name="internal" value="X"/> | 1078 <param name="internal" value="X"/> |
863 </section> | 1079 </section> |
864 <output name="out1" file="cutadapt_builtin_internal_adapter.out" ftype="fastq"/> | 1080 <output name="out1" file="cutadapt_builtin_internal_adapter.out" ftype="fastq"/> |
865 <assert_command> | 1081 <assert_command> |