Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Mar 5, 2024
1 parent 8c67c49 commit f928bb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions bin/agat_sp_compare_two_annotations.pl
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ =head1 DESCRIPTION
The script aims to compare two annotation of the same assembly. It provided
information about split/fusion of genes between the two annotations.
The most common case are:
The most common cases are:
1 => 0 ( gene uniq to file1)
0 => 1 ( gene uniq to file2)
1 => 1 ( 1 gene from file 1 overlaps only 1 gene from file2)
Expand All @@ -713,6 +713,9 @@ =head1 DESCRIPTION
Then you can get more complex cases:
<many> => <many> (<many> genes from file 1 overlap <many> genes from file2)
The script output a folder containing a report of number of different cases as well as a file
per case type listing per line the gene feature's ID involved in each case.
=head1 SYNOPSIS
agat_sp_compare_two_annotations.pl -gff1 infile.gff [ -o outfile ]
Expand All @@ -732,8 +735,8 @@ =head1 OPTIONS
=item B<-o> , B<--output> or B<--out>
Output GFF file. If no output file is specified, the output will be
written to STDOUT.
Output folder. It contains a report that resume the type and number of cases, as well as a file per case type
containing one case per line with the list of gene feature's ID (or other type of feature level1) from file1 then file2 separated by a |.
=item B<--debug> or B<-d>
Expand Down
7 changes: 5 additions & 2 deletions docs/tools/agat_sp_compare_two_annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ The most common case are:
Then you can get more complex cases:
&lt;many> => &lt;many> (&lt;many> genes from file 1 overlap &lt;many> genes from file2)

The script output a folder containing a report of number of different cases as well as a file
per case type listing per line the gene feature's ID involved in each case.

## SYNOPSIS

```
Expand All @@ -33,8 +36,8 @@ agat_sp_compare_two_annotations.pl --help

- **-o** , **--output** , **--out** or **--outfile**

Output GFF file. If no output file is specified, the output will be
written to STDOUT.
Output folder. It contains a report that resume the type and number of cases, as well as a file per case type
containing one case per line with the list of gene feature's ID (or other type of feature level1) from file1 then file2 separated by a |.

- **-v**

Expand Down

0 comments on commit f928bb4

Please sign in to comment.