Skip to content

Commit

Permalink
small update
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon committed Sep 14, 2023
1 parent 04a2894 commit 113ec54
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/pacbio.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Before running the pipeline data has to be in the `fasta.gz` format. Because of the software we use this data with it must also be Long read data as well as single stranded. This means you could use ONT ( excluding duplex reads ) here.

The below commands should help you convert from the format you have to fasta.gz.
The below commands should help you convert from mapped bam to fasta.gz, or from fastq to fasta.

If your data isn't already in these formats, then let us know and we'll see how we can help.

### BAM -> FASTQ

Expand Down Expand Up @@ -46,3 +48,9 @@ for i in .fasta; do
gzip $i
done
```
### Or if you're a command line ninja
```bash
samtools bam2fq {prefix}.bam| seqtk seq -a - | gzip - > {prefix}.fasta.gz
```

0 comments on commit 113ec54

Please sign in to comment.