cutadapt icon indicating copy to clipboard operation
cutadapt copied to clipboard

Add {trim_sequence} placeholder

Open delocalizer opened this issue 3 years ago • 1 comments

--rename placeholders are awesome!

A great addition to the existing set would be {trim_sequence}, i.e. all bases removed including those past the adapter when the adapter is found elsewhere than the end of the read.

This would allow in principle complete reconstruction of the original read sequence from a fastq processed with --action=trim.

delocalizer avatar Jul 21 '22 06:07 delocalizer

That would indeed be a good addition. This is related to what was requested in #529. I’ll keep the two issues separate for now because while the one from #529 is more general, your suggestion is more realistic.

marcelm avatar Aug 02 '22 12:08 marcelm