a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
Cumol  ·  2393 days ago  ·  link  ·    ·  parent  ·  post: Pubski: October 4, 2017

I had troubles figuring out something else. I have two input files and 4 output files per sequence and 115 of those. So I needed a for loop that takes the name of the sequence (blabla001_1.seq) finds the second part of the pair (blabla002_2.seq) then feeds that into a java command that gives 4 outputs using the names of the files.

I am used to writing scripts in R so I didn't know how to do that for bash. At the end I found a script that is supposed to do it, took it apart and understood how it works. 10 minutes ago I got my results :)