[ fxtools cat
]
Summary
This command will concatenate multiple fastx files into a single stream.
Expected Input
sample_1.fa
>AP2S1_a
ACTG
>AP2S1_b
ACTT
>AP2S2_a
CCCT
sample_2.fa
>NSD1_a
ACTG
>NSD1_b
ACTT
>NSD2_a
CCCT
Expected Output
>AP2S1_a
ACTG
>AP2S1_b
ACTT
>AP2S2_a
CCCT
>NSD1_a
ACTG
>NSD1_b
ACTT
>NSD2_a
CCCT
Usage
# standard concatenation
fxtools cat -i <fastx> <...> <fastx>
# into pipeline
fxtools cat -i <fastx_1> <fastx_2> <fastx_3> | fxtools filter -p "ACT"
# print only sequences of records
fxtools cat -s -i <fastx> <...> <fastx>
# print only sequences of records and write as single-line
fxtools cat -Ss -i <fastx> <...> <fastx>
# print only headers of records
fxtools cat -s -i <fastx> <...> <fastx>