Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty alignments_sorted.txt file while generating .hic file #110

Open
gitcruz opened this issue Sep 28, 2020 · 3 comments
Open

empty alignments_sorted.txt file while generating .hic file #110

gitcruz opened this issue Sep 28, 2020 · 3 comments

Comments

@gitcruz
Copy link

gitcruz commented Sep 28, 2020

Dear Marbl Team,

I've ran SALSA2 "successfully" on a genome assembly and scaffold N50 increased from 12Mb to 16Mb. In principle, everything looks good to me, except to what I considered a few warnings.

However, when I run the converter script to obtain the .hic file I am getting this error: "alignments_sorted.txt does not exist or does not contain any reads". I realized that the expected input file for converter.sh (i.e. alignment_iteration_1.bed) is actually empty. In fact, the .bed files for the three iterations are empty.

Do you know what could be the reason for this error? I would love to fix it without re-running SALSA2...

Cheers,
F

@ghuryejay
Copy link
Collaborator

Did you run it with -m yes option? If not, then you can use the bed file that you provided to SALSA as an input to the .hic file creation script.

@gitcruz
Copy link
Author

gitcruz commented Sep 29, 2020

Hi Jay,

I certainly used the -m option to detect misassemblies with Arima Hi-C data. However, I made a mistake and I passed it twice (-m 1000 instead of -c 1000!!!)...but the program did not complain. I think I should re-run the scaffolding and compare the results. Please let me know your opinion on this.

Below the commandline used:
python /home/devel/fcruz/SALSA2_Scaffolder/SALSA/run_pipeline.py -s 1340000000 -m 1000 -i 3 -a base_assembly.fa -l base_assembly.fa.fai -b Arima.1_2.hicup.bed -e GATC,GANTC -o out -m yes

Thanks,
F

@sheinasim
Copy link

I'm experiencing this same issue. all my .bed files are empty so an alignments.txt is not written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants