The source code may use or refer to content in a local workspace. This Bioclipse workspace used can be found on GitHub.
dna = biojava.DNAfromPlainSequence("GCAT")
println dna
dna = biojava.DNAfromPlainSequence(
"GCAT", "dummy sequence"
)
println dna
To run this code, you first need to install
Bacting (Groovy) or
pyBacting (Python).
@Grab(group='io.github.egonw.bacting', module='managers-biojava', version='0.1.2')
workspaceRoot = "../ws"
biojava = new net.bioclipse.managers.BiojavaManager(workspaceRoot);
dna = biojava.DNAfromPlainSequence("GCAT")
println dna
dna = biojava.DNAfromPlainSequence(
"GCAT", "dummy sequence"
)
println dna
DNA seq1666425062102: 'gcat'
DNA dummy sequence: 'gcat'