# HISAT2 failed to align certain sample

**URL:** <https://help.galaxyproject.org/t/hisat2-failed-to-align-certain-sample/9307>\
**Category:** Uncategorized\
**Tags:** mapping\
**Created:** [January 19, 2023, 3:38am UTC](https://help.galaxyproject.org/t/hisat2-failed-to-align-certain-sample/9307 "2023-01-19T03:38:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ks7515](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@ks7515](https://help.galaxyproject.org/u/ks7515)\
**Post date:** [January 19, 2023, 3:38am UTC](https://help.galaxyproject.org/t/hisat2-failed-to-align-certain-sample/9307/1 "2023-01-19T03:38:39Z")

</div>

Hi everyone,

My issue is quite strange. I have in total 16 RNA seq data. After trimming, I move on to HISAT2 for alignment.  
6 out of 16 sample give me error while other turned green.

"An error occurred with this dataset:

format bam database [CHM13\_T2T\_v2.0](https://usegalaxy.eu/datasets/4838ba20a6d867655ec30d60e75bf7bf/details#)"

" Error, fewer reads in file specified with -1 than in file specified with -2 terminate called after throwing an instance of ‘int’ (ERR): hisat2-align died with signal 6 (ABRT) (core dumped) gzip: stdout: Broken pipe [bam\_sort\_core] merging from 32 files

i dont know why it should merging 32 file, I did these pair individullly.

Thank you so much

---

<div class="post-metadata">

**Author:** ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://help.galaxyproject.org/u/igor)\
**Post date:** [January 19, 2023, 5:12am UTC](https://help.galaxyproject.org/t/hisat2-failed-to-align-certain-sample/9307/2 "2023-01-19T05:12:10Z")

</div>

Hi @ks7515  
this is the key message: Error, fewer reads in file specified with -1 than in file specified with -2.  
Please check the input files used for the failed jobs. Properly paired reads should have identical number of F and R reads present in the same order. Two common causes: F and R reads are from different samples, or reads were trimmed as single end data resulting in different number of F and R reads.  
The ‘merging’ part of the message probably refers to processing temporary files. Many aligners produce small files during mapping, and these files were merged into a single alignment.  
Kind regards,  
Igor

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [October 12, 2023, 5:16pm UTC](https://help.galaxyproject.org/t/hisat2-failed-to-align-certain-sample/9307/3 "2023-10-12T17:16:31Z")

</div>

Closed on October 12, 2023, 5:16pm UTC


