File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1- #!/usr/bin/python
1+ #!/usr/bin/env python
22
33# This script is compatible with Python3
44# Tested with 2to3; no changes made
Original file line number Diff line number Diff line change 11#! /bin/bash
2- echo " Test text"
3- outlocation=$( mktemp -d /media/GalaxyData/database/files/XXXXXX)
2+
3+ # sanity check
4+ printf " Conda env: $CONDA_DEFAULT_ENV \n"
5+ printf " Python version: $( python --version) \n"
6+ printf " Biopython version: $( conda list | egrep biopython | awk ' {print $2}' ) \n"
7+ printf " Emboss version: $( embossversion 2>&1 | tail -n1) \n"
8+ printf " Bash version: ${BASH_VERSION} \n\n"
9+
10+ outlocation=$( mktemp -d /data/files/XXXXXX)
411SCRIPTDIR=$( dirname " $( readlink -f " $0 " ) " )
512transeq -sequence $1 -frame 6 -outseq $outlocation " /proteintranslation" -table $4 2> /dev/null
613python $SCRIPTDIR " /translatenucleotide.py" -i $outlocation " /proteintranslation" -o $2 -s $3
Original file line number Diff line number Diff line change 66<description>EMBOSS transeq</description>
77-->
88<requirements >
9- <requirement type =" package" version =" 3.7.0" >python</requirement >
10- <requirement type =" package" >biopython</requirement >
119 <requirement type =" package" version =" 6.6.0" >emboss</requirement >
10+ <requirement type =" package" version =" 3.9.0" >python</requirement >
11+ <requirement type =" package" version =" 1.79" >biopython</requirement >
1212</requirements >
1313<command >
1414<![CDATA[
You can’t perform that action at this time.
0 commit comments