1
package org.usadellab.trimmomatic.trim;
3
import org.usadellab.trimmomatic.fastq.FastqRecord;
5
public class LeadingTrimmer extends AbstractSingleRecordTrimmer
9
public LeadingTrimmer(String args)
11
qual=Integer.parseInt(args);
14
public LeadingTrimmer(int qual) {
21
public FastqRecord processRecord(FastqRecord in)
23
String seq=in.getSequence();
24
int quals[]=in.getQualityAsInteger(true);
26
for(int i=0;i<seq.length();i++)
29
return new FastqRecord(in,i,seq.length()-i);