Rules to run fastp / Snakemake !
rule fastp: input: fwd=INPUT + "/{sample}-read_1.fq",...rev=INPUT + "/{sample}-read_2.fq" output: fwd=RESULTS + "/fastq_trimmed/{sample}.1.trimmed.fastq", rev=RESULTS + "/fa...928 days ago
838 days ago
Bash command to count reads in fastq file !
#ref fastq file #ref1_1.fq) echo $(( $(wc -l818 days ago
Raku script to find SSRs in fastq file !
sub find-ssrs(Str $sequence) { my @ssrs; for...} } return @ssrs; } sub process-fastq-file(Str $filename) { my...} } $fh.close; } # Replace 'your_fastq_file.fastq' with the path to...139 days ago
75 days ago
Python script to convert fastq to fasta
def fastq_to_fasta(fastq_file, fasta_file): with open(fastq_file, 'r') as fq: with open(fast...# Read four lines from the FASTQ file header...rite(sequence + '\n') # Usage example fastq_to_fasta('input.fastq', 'outp...65 days ago