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

--prefix not used #8

Open
webbchen opened this issue Oct 30, 2023 · 5 comments
Open

--prefix not used #8

webbchen opened this issue Oct 30, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@webbchen
Copy link

Dear developers

I ran:

/path/to/apps/fixchr/bin/fixchr \
-c /path/to/some_comparative_genomics/syri_Hp1_to_pm1.delta.m.coords \
-r /path/to/some_comparative_genomics/assembly_pm1_v1_upper.fasta \
-q /path/to/some_comparative_genomics/Hp1.fasta \
--contig_size 5000 \
--dir /path/to/some_comparative_genomics/ \
--prefix Hp1_to_pm1

but the output had no prefix whatsoever.

ref.filtered.fa
qry.filtered.fa
homologous_strand_corrected.pdf
homologous_strand_corrected_alignments.txt
homologous_alignments.txt
homologous.pdf
input.pdf
input_alignments.txt

Which is harmless, unless you run more than one instance.

Kind regards,

AWebb

@mnshgl0110 mnshgl0110 added the enhancement New feature or request label Nov 20, 2023
@mnshgl0110
Copy link
Member

Thanks for pointing this out. It seems that I have not implemented this yet. I will try to add this when I get some time. Pull requests to add this feature are also welcome.

@hyBio
Copy link

hyBio commented Jul 3, 2024


ref.filtered.fa
qry.filtered.fa
homologous_strand_corrected.pdf
homologous_strand_corrected_alignments.txt
homologous_alignments.txt
homologous.pdf
input.pdf
input_alignments.txt

Which file is the input file that needs to be used for the syri -c, I found that the files returned by fixchr will have a header line, which will cause the syri to report an error, and I may need to delete them manually, can this be avoided in the code? like this:
$$$ awk '!($1 ~ /^[0-9]+$/) {print}' homologous_strand_corrected_alignments.txt
aStart aEnd bStart bEnd aLen bLen iden aDir bDir aChr bChr cigar

@mnshgl0110
Copy link
Member

@hyBio Please check this: #9 (comment)

@hyBio
Copy link

hyBio commented Dec 31, 2024

I don't think the link you gave me solves my problem. Fixchr cannot be downloaded from bioconda at all. I think it is necessary for you to write a separate tutorial on how to seamlessly connect the results of fixchr to syri. It would be great if that were the case.

@hyBio
Copy link

hyBio commented Dec 31, 2024

One more thing. If I use fixchr for adjustment, it means I need to adjust the second query fa according to the chromosome of the first fa, and then use the second fa as the new ref to adjust the third one. And so on. This is a very complicated task and I don't know if the accuracy of the alignment can be guaranteed.

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

No branches or pull requests

3 participants