![]() |
![]()
| ![]() |
![]()
NAMEbl_fastq_3p_trim() - Trim 3' end of a FASTQ object LIBRARY#include <biolibc/fastq.h> -lbiolibc -lxtend SYNOPSISsize_t bl_fastq_3p_trim(bl_fastq_t *read, size_t cut_pos) ARGUMENTSread FASTQ read to be trimmed cut_pos New length and location of the null terminators DESCRIPTIONTrim the 3' end of a FASTQ sequence and quality string at location cut_pos. RETURN VALUESBL_FASTQ_DATA_OK if cut_pos is between 0 and original length, BL_FASTQ_DATA_INVALID otherwise. EXAMPLESbl_fastq_t read; char *adapter; size_t index; index = bl_fastq_find_adapter_smart(&read, adapter, 3, 10); if ( BL_FASTQ_SEQ_AE(&read, index) != '0' ) SEE ALSObl_fastq_find_adapter_smart(3), bl_fastq_find_adapter_exact(3)
|