# HG changeset patch # User iuc # Date 1622674054 0 # Node ID 288f97432497a9c9e9d128fca6700cd131d174ed # Parent c4b82dce833558c913c57fd57642013c2f24353c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cutadapt commit b26a2d90a1c70476fd2de33cd9fd739100f54fcf" diff -r c4b82dce8335 -r 288f97432497 cutadapt.xml --- a/cutadapt.xml Fri Apr 30 10:13:37 2021 +0000 +++ b/cutadapt.xml Wed Jun 02 22:47:34 2021 +0000 @@ -1,12 +1,11 @@ - - Remove adapter sequences from Fastq/Fasta + + Remove adapter sequences from FASTQ/FASTA macros.xml - - cutadapt - - + + + cutadapt --version report.txt #end if ]]> @@ -187,128 +197,190 @@
- - - - - + + + + + + + + + + + + + + + + - - +
- - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
- + + [0-9,]+ - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [A-Za-z0-9 =-_/+]+ + + + + + + + + + + + + [A-Za-z0-9 {}=_]+ + + +
-
- - - - - - - - -
- + + + + + + + + + + - (output_options['multiple_output'] is False and library['type'] != 'paired_collection') + library['type'] != 'paired_collection' and 'multiple_output' not in output_selector + - (output_options['multiple_output'] is False and library['type'] == 'paired') + library['type'] == 'paired' and 'multiple_output' not in output_selector - (output_options['multiple_output'] is False and library['type'] == 'paired_collection') + library['type'] == 'paired_collection' and 'multiple_output' not in output_selector - + - (output_options['report'] is True) + output_selector and 'report' in output_selector - - (output_options['info_file'] is True) + output_selector and 'info_file' in output_selector - (output_options['rest_file'] is True) + output_selector and 'rest_file' in output_selector - (output_options['wildcard_file'] is True) + output_selector and 'wildcard_file' in output_selector - (output_options['untrimmed_file'] is True) + output_selector and 'untrimmed_file' in output_selector - (library['type'] == 'paired' or library['type'] == 'paired_collection') - (output_options['untrimmed_file'] is True) + library['type'] == 'paired' or library['type'] == 'paired_collection' + output_selector and 'untrimmed_file' in output_selector - (output_options['too_short_file'] is True) + output_selector and 'too_short_file' in output_selector - (library['type'] == 'paired' or library['type'] == 'paired_collection') - (output_options['too_short_file'] is True) + library['type'] == 'paired' or library['type'] == 'paired_collection' + output_selector and 'too_short_file' in output_selector - - (output_options['too_long_file'] is True) + output_selector and 'too_long_file' in output_selector - (library['type'] == 'paired' or library['type'] == 'paired_collection') - (output_options['too_long_file'] is True) + library['type'] == 'paired' or library['type'] == 'paired_collection' + output_selector and 'too_long_file' in output_selector - (output_options['multiple_output'] is True) + output_selector and 'multiple_output' in output_selector - @@ -381,10 +453,9 @@
- +
- @@ -397,8 +468,7 @@ - - + @@ -418,8 +488,7 @@ - - + @@ -451,9 +520,7 @@ - - - + @@ -477,9 +544,7 @@ - - - + @@ -496,7 +561,7 @@ - + @@ -506,7 +571,7 @@ - + + + + + + +
+ +
+ +
+ + + + + + +
+ + +
+ + + + + +
+ + + + + + +
+ +
+ +
+ + + + + +
+ +
+ +
+ + + + + +
+ +
+ +
+ + + + + +
+ +
+ +
+ + + + + + +
+ +
+ +
+ + + + + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + +
+ + + + + +
+ +
+ + + + + +
+ + + + + +
+ +
+ + + + + + +
+ +
+ +
+ + + + + + +
+ +
+ + + + +
+ + + + + + + + +
+ +
+ + + + + +
+ + + + + +
+ +
+ + + + +
]]> - - - -@article{marcel_cutadapt_2011, - title = {Cutadapt removes adapter sequences from high-throughput sequencing reads}, - volume = {17}, - copyright = {Authors who publish with this journal agree to the following terms: Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access ).}, - url = {http://journal.embnet.org/index.php/embnetjournal/article/view/200}, - abstract = {When small RNA is sequenced on current sequencing machines, the resulting reads are usually longer than the RNA and therefore contain parts of the 3' adapter. That adapter must be found and removed error-tolerantly from each read before read mapping. Previous solutions are either hard to use or do not offer required features, in particular support for color space data. As an easy to use alternative, we developed the command-line tool cutadapt, which supports 454, Illumina and SOLiD (color space) data, offers two adapter trimming algorithms, and has other useful features. - -Cutadapt, including its MIT-licensed source code, is available for download at http://code.google.com/p/cutadapt/}, - number = {1}, - urldate = {2011-08-02}, - journal = {EMBnet.journal}, - author = {Marcel, Martin}, - year = {2011}, - note = {When small RNA is sequenced on current sequencing machines, the resulting reads are usually longer than the RNA and therefore contain parts of the 3' adapter. That adapter must be found and removed error-tolerantly from each read before read mapping. Previous solutions are either hard to use or do not offer required features, in particular support for color space data. As an easy to use alternative, we developed the command-line tool cutadapt, which supports 454, Illumina and SOLiD (color space) data, offers two adapter trimming algorithms, and has other useful features. Cutadapt, including its MIT-licensed source code, is available for download at http://code.google.com/p/cutadapt/}, - keywords = {Adapter removal;, fastq, MicroRNA, Sequencing, Small RNA, software}, - file = {Cutadapt removes adapter sequences from high-throughput sequencing reads | Martin | EMBnet.journal:/Users/lparsons/Library/Application Support/Firefox/Profiles/thd2t4je.default/zotero/storage/ZXZT4PSE/200.html:text/html} -} - - - +
diff -r c4b82dce8335 -r 288f97432497 macros.xml --- a/macros.xml Fri Apr 30 10:13:37 2021 +0000 +++ b/macros.xml Wed Jun 02 22:47:34 2021 +0000 @@ -1,18 +1,42 @@ - + 3.4 + galaxy0 + + + topic_0632 + + + operation_0231 + + + + + cutadapt + + + + + 10.14806/ej.17.1.200 + + + + + cutadapt + + - + @@ -204,7 +228,7 @@ - + @@ -225,7 +249,7 @@ - + @@ -260,7 +284,7 @@ - + @@ -282,7 +306,7 @@ - + @@ -303,7 +327,7 @@ - + diff -r c4b82dce8335 -r 288f97432497 test-data/A1.fastq.gz Binary file test-data/A1.fastq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/A2.fastq.gz Binary file test-data/A2.fastq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/bwa-mem-fastq1_assimetric.fq.gz Binary file test-data/bwa-mem-fastq1_assimetric.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/bwa-mem-fastq2_assimetric.fq.gz Binary file test-data/bwa-mem-fastq2_assimetric.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_action_lowercase.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_action_lowercase.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +cgtccgaantagctaccaccctgattagacaaat ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_action_mask.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_action_mask.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_action_none.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_action_none.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +CGTCCGAANTAGCTACCACCCTGATTAGACAAAT ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_action_retain.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_action_retain.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +CGTCCGAANTAG ++ +)3%)&&&&!.1& +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_builtin_internal_adapter.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_builtin_internal_adapter.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +CGTCCGAANTAGCTACCACCCTGATTAGACAAAT ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_nextseq_out.fq.gz Binary file test-data/cutadapt_nextseq_out.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out1.fq.gz Binary file test-data/cutadapt_out1.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out1_internal_adapter.fq.gz Binary file test-data/cutadapt_out1_internal_adapter.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out1_max_length.fq.gz Binary file test-data/cutadapt_out1_max_length.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out1_max_min_01.fq.gz Binary file test-data/cutadapt_out1_max_min_01.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out1_max_min_02.fq.gz Binary file test-data/cutadapt_out1_max_min_02.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out1_min_length.fq.gz Binary file test-data/cutadapt_out1_min_length.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out2.fq.gz Binary file test-data/cutadapt_out2.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out2_internal_adapter.fq.gz Binary file test-data/cutadapt_out2_internal_adapter.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out2_max_length.fq.gz Binary file test-data/cutadapt_out2_max_length.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out2_max_min_01.fq.gz Binary file test-data/cutadapt_out2_max_min_01.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out2_max_min_02.fq.gz Binary file test-data/cutadapt_out2_max_min_02.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_out2_min_length.fq.gz Binary file test-data/cutadapt_out2_min_length.fq.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_revcomp.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_revcomp.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +CGTCCGAANTAGCTACCACCCTGATTAGACAAAT ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&7 diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_shorten_3prime.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_shorten_3prime.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +CGTCCGAANT ++ +)3%)&&&&!. +@prefix:1_13_1259/1 + ++ + +@prefix:1_13_1440/1 +CAAGATCTNC ++ +<=A:A=57!7 diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_shorten_5prime.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_shorten_5prime.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +TTAGACAAAT ++ +75)'77&&&5 +@prefix:1_13_1259/1 + ++ + +@prefix:1_13_1440/1 +CTAGTTAAAC ++ +)71>70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_shorten_expected_errors.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_shorten_expected_errors.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +CGTCCGAANTAGCTACCACCCTGATTAGACAAAT ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_shorten_internal_adapters.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_shorten_internal_adapters.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +CGTCCGAANTAGCTACCACCCTGATTAGACAAAT ++ +)3%)&&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +AGCCGCTANGACGGGTTGGCCCTTAGACGTATCT ++ +;<:&:A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_small_cut.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_small_cut.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 +GAANTAGCTACCACCCTGATTAGACAAAT ++ +&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 +CTANGACGGGTTGGCCCTTAGACGTATCT ++ +A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_small_rename.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/cutadapt_small_rename.out Wed Jun 02 22:47:34 2021 +0000 @@ -0,0 +1,12 @@ +@prefix:1_13_573/1 barcode=CGTCC +GAANTAGCTACCACCCTGATTAGACAAAT ++ +&&&!.1&(6:<'67..*,:75)'77&&&5 +@prefix:1_13_1259/1 barcode=AGCCG +CTANGACGGGTTGGCCCTTAGACGTATCT ++ +A;A!9<<<,7:<=3=;:<&70<,=: diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_trimmed.out.gz Binary file test-data/cutadapt_trimmed.out.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/cutadapt_untrimmed.out.gz Binary file test-data/cutadapt_untrimmed.out.gz has changed diff -r c4b82dce8335 -r 288f97432497 test-data/unknown.fastq.gz Binary file test-data/unknown.fastq.gz has changed