[markdup] error: queryname sorted, must be sorted by coordinate.
时间: 2024-05-10 13:20:38 浏览: 11
This error message is typically encountered when running certain bioinformatics tools, such as SAMtools, that require input files to be sorted by genomic coordinate.
The error message indicates that the input file has been sorted by query name, rather than genomic coordinate. This can happen if the input file was not sorted or if it was sorted incorrectly.
To fix this error, you need to sort the input file by genomic coordinate. You can do this using a tool like SAMtools, which has a command for sorting BAM files by coordinate:
```bash
samtools sort -o output.bam input.bam
```
Replace `output.bam` with the name of the output file and `input.bam` with the name of the input file.
Once the input file is sorted by coordinate, you should be able to run the tool without encountering the "queryname sorted" error.