SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
BBDUK and BBMERGE, which goes first chloe1005 Bioinformatics 1 04-12-2018 03:43 AM
Melting Temperature Problems When Calling Working Python Program Through BASH/(***) AnushaC Bioinformatics 2 03-29-2016 07:59 AM
bbmerge mismatched danova Bioinformatics 3 02-23-2016 11:27 PM
bbmerge ratiomode ? danova Bioinformatics 2 02-16-2016 10:58 AM

Reply
 
Thread Tools
Old 06-05-2019, 07:10 AM   #1
maxbio
Junior Member
 
Location: Amherst

Join Date: Jun 2019
Posts: 2
Default Calling BBMerge from Java program

Hi,

I have a handful of metatranscriptome sequences that I would like to merge using BBMerge, and I've sorted them together into bidimensional file arrays using a java program using code like this;

public static void example(){
File[][]example = new File[1][2]; // in reality, this would be 4 arrays long
example[0][0] = new File("example_file_R1.fastq");
example[0][1] = new File("example_file_R2.fastq");
}

Now what I'm trying to do is figure out how I can send the files to BBMerge from here from within the code; I'm familiar with calling other methods within the same class, as such:

for(int i = 0; i < example.length; i++){
bbmerge(example[i][0], example[i][1]);
}

but since BBMerge is outside the class (but still on the computer and still a java program, meaning it should be able to take the 2 files from the array as parameters) I'm not sure how I would go about this from within the program. Would anyone have any idea how to do this?

Thanks,
maxbio is offline   Reply With Quote
Old 06-05-2019, 08:03 AM   #2
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 6,978
Default

I suggest that you email Brian Bushnell directly about this. You can find his email address in the bbmap source.
GenoMax is offline   Reply With Quote
Reply

Tags
bbmap, bbmerge, bbtools, java

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 11:08 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO