# HG changeset patch # User jjohnson # Date 1633725865 0 # Node ID 2d32e6c86c48ed1f0d9748255fe32934c8216710 # Parent 7420753b0671d6b4c392d0462e1eb35ac0af7df4 "planemo upload for repository https://github.com/jj-umn/tools-iuc/tree/arriba/tools/arriba commit b4882afed9ec678b576f126907094c77c03eae96" diff -r 7420753b0671 -r 2d32e6c86c48 arriba.xml --- a/arriba.xml Fri Oct 08 19:23:48 2021 +0000 +++ b/arriba.xml Fri Oct 08 20:44:25 2021 +0000 @@ -70,6 +70,27 @@ #end if -o fusions.tsv -O fusions.discarded.tsv +#if str($input_params.input_source) == "use_fastq" + && samtools sort -@ "$THREADS" -m 4G -T tmp -O bam Aligned.out.bam > Aligned.sortedByCoord.out.bam + && samtools index Aligned.sortedByCoord.out.bam +#elif str($visualization.do_viz) == "yes" + && samtools sort -@ "$THREADS" -m 4G -T tmp -O bam '$input_params.input' > Aligned.sortedByCoord.out.bam + && samtools index Aligned.sortedByCoord.out.bam +#end if +#if str($visualization.do_viz) == "yes" +draw_fusions.R \ + --fusions=fusions.tsv + --alignments=Aligned.sortedByCoord.out.bam + --output=fusions.pdf + --annotation='$gtf' + #if $visualization.cytobands + --cytobands='$visualization.cytobands' + #end if + #if '$protein_domains' + --proteinDomains=database/protein_domains_hg19_hs37d5_GRCh37_v2.1.0.gff3 + #end if +#end if + ]]> @@ -107,16 +128,33 @@ - + + + + + + + + + + + + + + input_params['input_source'] == "use_fastq" + + + visualization['do_viz'] == "yes" + '$genome_fasta' && - cp *.gtf* > '$genome_gtf' && + cp *.fa* '$genome_fasta' && + cp *.gtf* '$genome_gtf' && mv STAR*/* '$star_index.extra_files_path' ]]>